#3E209E#3E209E
#3E209E is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.7% C 0.186 H 283.9°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).
Color values
| HEX | #3E209E |
|---|---|
| RGB | rgb(62, 32, 158) |
| HSL | hsl(254, 66%, 37%) |
| HSV | hsv(254, 80%, 62%) |
| CMYK | cmyk(60.8%, 79.7%, 0%, 38%) |
| CIE-LAB | lab(25.34, 46.92, -62.74) |
| CIE-LCH | lch(25.34, 78.35, 306.79°) |
| OKLab | oklab(37.75% 0.0448 -0.1809) |
| OKLCH | oklch(37.75% 0.186 283.9) |
| XYZ | xyz(8.6728, 4.5252, 32.7576) |
| Luminance | 0.0453 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.78
Ultramarine
#2000B1
ΔE00 5.01
Royal
#0C1793
ΔE00 5.07
Cobalt Blue
#030AA7
ΔE00 5.23
Royal Blue (survey)
#0504AA
ΔE00 5.49
Indigo (survey)
#380282
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E209E #809E20
analogous
#20419E #3E209E #7D209E
triadic
#3E209E #9E3E20 #209E3E
tetradic
#3E209E #9E2041 #809E20 #209E7D
square
#3E209E #9E2041 #809E20 #209E7D
split-complementary
#3E209E #9E7D20 #419E20
monochromatic
#160B38 #2A166B #3E209E #522AD1 #7A5BDE
Accessibility & contrast
On white
11.02
#3E209E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#3E209E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E209E
11.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E209E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E209E | 1.00 | 11.02 | 1.91 | 11.02 |
| #FFFFFF | 11.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0040A1
Deuteranopia (green-blind)
#00389C
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #3e209e; /* rgb */ color: rgb(62, 32, 158); /* oklch */ color: oklch(37.7% 0.186 283.9);
Tailwind
colors: {
custom: {
50: '#8060bc',
500: '#3e209e',
950: '#000000',
},
}SCSS
$custom: #3e209e; $custom-light: #8060bc; $custom-dark: #000000;
JSON
{
"hex": "#3e209e",
"rgb": {
"r": 62,
"g": 32,
"b": 158
},
"hsl": {
"h": 254.286,
"s": 66.316,
"l": 37.255
},
"oklch": {
"l": 0.37749,
"c": 0.18633,
"h": 283.9
},
"luminance": 0.04526
}Semantic roles & 50–950 ramp
primary
#3E209E
secondary
#A9C258
accent
#E93FC1
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0B0512
muted
#7C7981