#622698#622698
#622698 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.8% C 0.175 H 303.5°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).
Color values
| HEX | #622698 |
|---|---|
| RGB | rgb(98, 38, 152) |
| HSL | hsl(272, 60%, 37%) |
| HSV | hsv(272, 75%, 60%) |
| CMYK | cmyk(35.5%, 75%, 0%, 40.4%) |
| CIE-LAB | lab(30.03, 48.13, -51.21) |
| CIE-LCH | lch(30.03, 70.28, 313.22°) |
| OKLab | oklab(41.84% 0.0966 -0.1459) |
| OKLCH | oklch(41.84% 0.175 303.5) |
| XYZ | xyz(11.3963, 6.2499, 30.3056) |
| Luminance | 0.0625 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.81
Purple (survey)
#7E1E9C
ΔE00 5.24
Indigo
#4B0082
ΔE00 7.09
Indigo Blue
#3A18B1
ΔE00 7.69
Violet Blue
#510AC9
ΔE00 7.87
Purple Blue
#5D21D0
ΔE00 8.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#622698 #5C9826
analogous
#292698 #622698 #982695
triadic
#622698 #986226 #269862
tetradic
#622698 #982926 #5C9826 #269598
square
#622698 #982926 #5C9826 #269598
split-complementary
#622698 #959826 #269829
monochromatic
#230E36 #421A67 #622698 #8232C9 #9F61D7
Accessibility & contrast
On white
9.33
#622698 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#622698 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #622698
9.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##622698 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##622698 | 1.00 | 9.33 | 2.25 | 9.33 |
| #FFFFFF | 9.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00469B
Deuteranopia (green-blind)
#004796
Tritanopia (blue-blind)
#57425D
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #622698; /* rgb */ color: rgb(98, 38, 152); /* oklch */ color: oklch(41.8% 0.175 303.5);
Tailwind
colors: {
custom: {
50: '#9466b7',
500: '#622698',
950: '#000000',
},
}SCSS
$custom: #622698; $custom-light: #9466b7; $custom-dark: #000000;
JSON
{
"hex": "#622698",
"rgb": {
"r": 98,
"g": 38,
"b": 152
},
"hsl": {
"h": 271.579,
"s": 60,
"l": 37.255
},
"oklch": {
"l": 0.41843,
"c": 0.17498,
"h": 303.5
},
"luminance": 0.0625
}Semantic roles & 50–950 ramp
primary
#622698
secondary
#8ABD5D
accent
#E34590
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80