Color codes
- HEX
- #9400d3
- RGB
- rgb(148, 0, 211)
- HSL
- hsl(282 100% 41%)
- CMYK
- cmyk(30% 100% 0% 17%)
- OKLCH
- oklch(51.5% 0.261 310)
CSS named color
rgb(148, 0, 211)
6.56:1 on white
AA normal · AAA large text
3.20:1 on black
AA for large text only
darkviolet is written as #9400d3 in hex, rgb(148, 0, 211) in RGB and hsl(282 100% 41%) in HSL. Its lightness sits at 41%, which is why it reads aa normal · aaa large text against white.
Need the color from a screenshot instead? Use theimage color picker, or convert a value with the color code converter.