#3E2296#3E2296
#3E2296 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.2% C 0.175 H 285.2°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).
Color values
| HEX | #3E2296 |
|---|---|
| RGB | rgb(62, 34, 150) |
| HSL | hsl(254, 63%, 36%) |
| HSV | hsv(254, 77%, 59%) |
| CMYK | cmyk(58.7%, 77.3%, 0%, 41.2%) |
| CIE-LAB | lab(24.86, 43.58, -58.63) |
| CIE-LCH | lch(24.86, 73.05, 306.62°) |
| OKLab | oklab(37.17% 0.0458 -0.1689) |
| OKLCH | oklch(37.17% 0.175 285.2) |
| XYZ | xyz(8.0620, 4.3697, 29.2669) |
| Luminance | 0.0437 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.00
Royal
#0C1793
ΔE00 5.03
Indigo (survey)
#380282
ΔE00 5.70
Cobalt Blue
#030AA7
ΔE00 5.84
Ultramarine
#2000B1
ΔE00 5.91
Royal Blue (survey)
#0504AA
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E2296 #7A9622
analogous
#224096 #3E2296 #782296
triadic
#3E2296 #963E22 #22963E
tetradic
#3E2296 #962240 #7A9622 #229678
square
#3E2296 #962240 #7A9622 #229678
split-complementary
#3E2296 #967822 #409622
monochromatic
#150B32 #291764 #3E2296 #532DC8 #7859D9
Accessibility & contrast
On white
11.21
#3E2296 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#3E2296 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E2296
11.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E2296 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E2296 | 1.00 | 11.21 | 1.87 | 11.21 |
| #FFFFFF | 11.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E99
Deuteranopia (green-blind)
#003794
Tritanopia (blue-blind)
#0F435B
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #3e2296; /* rgb */ color: rgb(62, 34, 150); /* oklch */ color: oklch(37.2% 0.175 285.2);
Tailwind
colors: {
custom: {
50: '#7e61b6',
500: '#3e2296',
950: '#000000',
},
}SCSS
$custom: #3e2296; $custom-light: #7e61b6; $custom-dark: #000000;
JSON
{
"hex": "#3e2296",
"rgb": {
"r": 62,
"g": 34,
"b": 150
},
"hsl": {
"h": 254.483,
"s": 63.043,
"l": 36.078
},
"oklch": {
"l": 0.37168,
"c": 0.17496,
"h": 285.2
},
"luminance": 0.0437
}Semantic roles & 50–950 ramp
primary
#3E2296
secondary
#A5BE56
accent
#E642BE
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980