#62259A#62259A
#62259A is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.9% C 0.178 H 303.0°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).
Color values
| HEX | #62259A |
|---|---|
| RGB | rgb(98, 37, 154) |
| HSL | hsl(271, 61%, 37%) |
| HSV | hsv(271, 76%, 60%) |
| CMYK | cmyk(36.4%, 76%, 0%, 39.6%) |
| CIE-LAB | lab(30.04, 49.06, -52.42) |
| CIE-LCH | lch(30.04, 71.80, 313.10°) |
| OKLab | oklab(41.9% 0.0971 -0.1494) |
| OKLCH | oklch(41.9% 0.178 303) |
| XYZ | xyz(11.5299, 6.2529, 31.1651) |
| Luminance | 0.0625 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.02
Purple (survey)
#7E1E9C
ΔE00 5.29
Indigo
#4B0082
ΔE00 7.06
Indigo Blue
#3A18B1
ΔE00 7.41
Violet Blue
#510AC9
ΔE00 7.51
Purple Blue
#5D21D0
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#62259A #5D9A25
analogous
#27259A #62259A #9A2598
triadic
#62259A #9A6225 #259A62
tetradic
#62259A #9A2725 #5D9A25 #25989A
square
#62259A #9A2725 #5D9A25 #25989A
split-complementary
#62259A #989A25 #259A27
monochromatic
#230D37 #431969 #62259A #8131CB #9F60D9
Accessibility & contrast
On white
9.33
#62259A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#62259A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #62259A
9.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##62259A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##62259A | 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)
#00469D
Deuteranopia (green-blind)
#004698
Tritanopia (blue-blind)
#56435E
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #62259a; /* rgb */ color: rgb(98, 37, 154); /* oklch */ color: oklch(41.9% 0.178 303.0);
Tailwind
colors: {
custom: {
50: '#9466b9',
500: '#62259a',
950: '#000000',
},
}SCSS
$custom: #62259a; $custom-light: #9466b9; $custom-dark: #000000;
JSON
{
"hex": "#62259a",
"rgb": {
"r": 98,
"g": 37,
"b": 154
},
"hsl": {
"h": 271.282,
"s": 61.257,
"l": 37.451
},
"oklch": {
"l": 0.41899,
"c": 0.17823,
"h": 303
},
"luminance": 0.06253
}Semantic roles & 50–950 ramp
primary
#62259A
secondary
#8BBE5D
accent
#E44390
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80