#62219F#62219F
#62219F is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.9% C 0.188 H 302.0°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).
Color values
| HEX | #62219F |
|---|---|
| RGB | rgb(98, 33, 159) |
| HSL | hsl(271, 66%, 38%) |
| HSV | hsv(271, 79%, 62%) |
| CMYK | cmyk(38.4%, 79.2%, 0%, 37.6%) |
| CIE-LAB | lab(29.88, 51.93, -55.73) |
| CIE-LCH | lch(29.88, 76.18, 312.98°) |
| OKLab | oklab(41.92% 0.0994 -0.1591) |
| OKLCH | oklch(41.92% 0.188 302) |
| XYZ | xyz(11.8374, 6.1875, 33.3648) |
| Luminance | 0.0619 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.82
Purple (survey)
#7E1E9C
ΔE00 5.51
Violet Blue
#510AC9
ΔE00 6.58
Indigo Blue
#3A18B1
ΔE00 6.72
Purple Blue
#5D21D0
ΔE00 6.92
Indigo
#4B0082
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#62219F #5E9F21
analogous
#23219F #62219F #9F219D
triadic
#62219F #9F6221 #219F62
tetradic
#62219F #9F2321 #5E9F21 #219D9F
square
#62219F #9F2321 #5E9F21 #219D9F
split-complementary
#62219F #9D9F21 #219F23
monochromatic
#240C3A #43166C #62219F #812CD2 #9F5DDD
Accessibility & contrast
On white
9.39
#62219F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#62219F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #62219F
9.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##62219F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##62219F | 1.00 | 9.39 | 2.24 | 9.39 |
| #FFFFFF | 9.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#00469D
Tritanopia (blue-blind)
#554360
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #62219f; /* rgb */ color: rgb(98, 33, 159); /* oklch */ color: oklch(41.9% 0.188 302.0);
Tailwind
colors: {
custom: {
50: '#9564bc',
500: '#62219f',
950: '#000000',
},
}SCSS
$custom: #62219f; $custom-light: #9564bc; $custom-dark: #000000;
JSON
{
"hex": "#62219f",
"rgb": {
"r": 98,
"g": 33,
"b": 159
},
"hsl": {
"h": 270.952,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.41916,
"c": 0.18762,
"h": 302
},
"luminance": 0.06188
}Semantic roles & 50–950 ramp
primary
#62219F
secondary
#8CC25A
accent
#E93F91
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81