#622696#622696
#622696 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.7% C 0.173 H 304.2°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).
Color values
| HEX | #622696 |
|---|---|
| RGB | rgb(98, 38, 150) |
| HSL | hsl(272, 60%, 37%) |
| HSV | hsv(272, 75%, 59%) |
| CMYK | cmyk(34.7%, 74.7%, 0%, 41.2%) |
| CIE-LAB | lab(29.87, 47.64, -50.25) |
| CIE-LCH | lch(29.87, 69.24, 313.48°) |
| OKLab | oklab(41.68% 0.097 -0.143) |
| OKLCH | oklch(41.68% 0.173 304.2) |
| XYZ | xyz(11.2339, 6.1849, 29.4502) |
| Luminance | 0.0619 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.82
Purple (survey)
#7E1E9C
ΔE00 5.19
Indigo
#4B0082
ΔE00 6.99
Indigo Blue
#3A18B1
ΔE00 7.91
Violet Blue
#510AC9
ΔE00 8.18
Purple Blue
#5D21D0
ΔE00 8.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#622696 #5A9626
analogous
#2A2696 #622696 #962692
triadic
#622696 #966226 #269662
tetradic
#622696 #962A26 #5A9626 #269296
square
#622696 #962A26 #5A9626 #269296
split-complementary
#622696 #929626 #26962A
monochromatic
#220D34 #421A65 #622696 #8232C7 #9F60D7
Accessibility & contrast
On white
9.39
#622696 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#622696 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #622696
9.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##622696 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##622696 | 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)
#004599
Deuteranopia (green-blind)
#004694
Tritanopia (blue-blind)
#58415C
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #622696; /* rgb */ color: rgb(98, 38, 150); /* oklch */ color: oklch(41.7% 0.173 304.2);
Tailwind
colors: {
custom: {
50: '#9466b6',
500: '#622696',
950: '#000000',
},
}SCSS
$custom: #622696; $custom-light: #9466b6; $custom-dark: #000000;
JSON
{
"hex": "#622696",
"rgb": {
"r": 98,
"g": 38,
"b": 150
},
"hsl": {
"h": 272.143,
"s": 59.574,
"l": 36.863
},
"oklch": {
"l": 0.4168,
"c": 0.17286,
"h": 304.2
},
"luminance": 0.06185
}Semantic roles & 50–950 ramp
primary
#622696
secondary
#88BC5C
accent
#E3458E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80