#3E2199#3E2199
#3E2199 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.4% C 0.180 H 284.7°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).
Color values
| HEX | #3E2199 |
|---|---|
| RGB | rgb(62, 33, 153) |
| HSL | hsl(255, 65%, 36%) |
| HSV | hsv(255, 78%, 60%) |
| CMYK | cmyk(59.5%, 78.4%, 0%, 40%) |
| CIE-LAB | lab(24.99, 44.97, -60.26) |
| CIE-LCH | lch(24.99, 75.19, 306.73°) |
| OKLab | oklab(37.35% 0.0456 -0.1736) |
| OKLCH | oklch(37.35% 0.18 284.7) |
| XYZ | xyz(8.2785, 4.4112, 30.5460) |
| Luminance | 0.0441 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.51
Royal
#0C1793
ΔE00 4.99
Ultramarine
#2000B1
ΔE00 5.51
Cobalt Blue
#030AA7
ΔE00 5.55
Indigo (survey)
#380282
ΔE00 5.76
Royal Blue (survey)
#0504AA
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E2199 #7C9921
analogous
#214099 #3E2199 #7A2199
triadic
#3E2199 #993E21 #21993E
tetradic
#3E2199 #992140 #7C9921 #21997A
square
#3E2199 #992140 #7C9921 #21997A
split-complementary
#3E2199 #997A21 #409921
monochromatic
#150B34 #2A1667 #3E2199 #522CCB #7959DB
Accessibility & contrast
On white
11.16
#3E2199 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#3E2199 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E2199
11.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E2199 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E2199 | 1.00 | 11.16 | 1.88 | 11.16 |
| #FFFFFF | 11.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F9C
Deuteranopia (green-blind)
#003797
Tritanopia (blue-blind)
#08445C
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #3e2199; /* rgb */ color: rgb(62, 33, 153); /* oklch */ color: oklch(37.4% 0.180 284.7);
Tailwind
colors: {
custom: {
50: '#7f60b8',
500: '#3e2199',
950: '#000000',
},
}SCSS
$custom: #3e2199; $custom-light: #7f60b8; $custom-dark: #000000;
JSON
{
"hex": "#3e2199",
"rgb": {
"r": 62,
"g": 33,
"b": 153
},
"hsl": {
"h": 254.5,
"s": 64.516,
"l": 36.471
},
"oklch": {
"l": 0.3735,
"c": 0.17952,
"h": 284.7
},
"luminance": 0.04412
}Semantic roles & 50–950 ramp
primary
#3E2199
secondary
#A6BF56
accent
#E840BF
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981