#62259E#62259E
#62259E is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.2% C 0.182 H 301.8°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).
Color values
| HEX | #62259E |
|---|---|
| RGB | rgb(98, 37, 158) |
| HSL | hsl(270, 62%, 38%) |
| HSV | hsv(270, 77%, 62%) |
| CMYK | cmyk(38%, 76.6%, 0%, 38%) |
| CIE-LAB | lab(30.37, 50.03, -54.32) |
| CIE-LCH | lch(30.37, 73.85, 312.65°) |
| OKLab | oklab(42.23% 0.0962 -0.155) |
| OKLCH | oklch(42.23% 0.182 301.8) |
| XYZ | xyz(11.8686, 6.3884, 32.9489) |
| Luminance | 0.0639 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.17
Purple (survey)
#7E1E9C
ΔE00 5.45
Violet Blue
#510AC9
ΔE00 6.94
Indigo Blue
#3A18B1
ΔE00 7.02
Purple Blue
#5D21D0
ΔE00 7.03
Indigo
#4B0082
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#62259E #619E25
analogous
#26259E #62259E #9E259D
triadic
#62259E #9E6225 #259E62
tetradic
#62259E #9E2625 #619E25 #259D9E
square
#62259E #9E2625 #619E25 #259D9E
split-complementary
#62259E #9D9E25 #259E26
monochromatic
#240E3B #43196C #62259E #8131CF #9F63DA
Accessibility & contrast
On white
9.22
#62259E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#62259E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #62259E
9.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##62259E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##62259E | 1.00 | 9.22 | 2.28 | 9.22 |
| #FFFFFF | 9.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047A1
Deuteranopia (green-blind)
#00479C
Tritanopia (blue-blind)
#554460
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #62259e; /* rgb */ color: rgb(98, 37, 158); /* oklch */ color: oklch(42.2% 0.182 301.8);
Tailwind
colors: {
custom: {
50: '#9466bc',
500: '#62259e',
950: '#000000',
},
}SCSS
$custom: #62259e; $custom-light: #9466bc; $custom-dark: #000000;
JSON
{
"hex": "#62259e",
"rgb": {
"r": 98,
"g": 37,
"b": 158
},
"hsl": {
"h": 270.248,
"s": 62.051,
"l": 38.235
},
"oklch": {
"l": 0.42234,
"c": 0.18244,
"h": 301.8
},
"luminance": 0.06388
}Semantic roles & 50–950 ramp
primary
#62259E
secondary
#8FC05F
accent
#E54393
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81