#3E2290#3E2290
#3E2290 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.6% C 0.168 H 286.4°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).
Color values
| HEX | #3E2290 |
|---|---|
| RGB | rgb(62, 34, 144) |
| HSL | hsl(255, 62%, 35%) |
| HSV | hsv(255, 76%, 56%) |
| CMYK | cmyk(56.9%, 76.4%, 0%, 43.5%) |
| CIE-LAB | lab(24.26, 41.78, -55.90) |
| CIE-LCH | lch(24.26, 69.79, 306.77°) |
| OKLab | oklab(36.57% 0.0474 -0.1609) |
| OKLCH | oklch(36.57% 0.168 286.4) |
| XYZ | xyz(7.5912, 4.1814, 26.7872) |
| Luminance | 0.0418 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.86
Royal
#0C1793
ΔE00 5.13
Indigo (survey)
#380282
ΔE00 5.33
Indigo
#4B0082
ΔE00 5.84
Cobalt Blue
#030AA7
ΔE00 6.30
Ultramarine
#2000B1
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E2290 #749022
analogous
#223D90 #3E2290 #752290
triadic
#3E2290 #903E22 #22903E
tetradic
#3E2290 #90223D #749022 #229075
square
#3E2290 #90223D #749022 #229075
split-complementary
#3E2290 #907522 #3D9022
monochromatic
#130B2D #29165E #3E2290 #532EC2 #7655D7
Accessibility & contrast
On white
11.44
#3E2290 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#3E2290 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E2290
11.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E2290 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E2290 | 1.00 | 11.44 | 1.84 | 11.44 |
| #FFFFFF | 11.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C93
Deuteranopia (green-blind)
#00368E
Tritanopia (blue-blind)
#184157
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #3e2290; /* rgb */ color: rgb(62, 34, 144); /* oklch */ color: oklch(36.6% 0.168 286.4);
Tailwind
colors: {
custom: {
50: '#7d60b2',
500: '#3e2290',
950: '#000000',
},
}SCSS
$custom: #3e2290; $custom-light: #7d60b2; $custom-dark: #000000;
JSON
{
"hex": "#3e2290",
"rgb": {
"r": 62,
"g": 34,
"b": 144
},
"hsl": {
"h": 255.273,
"s": 61.798,
"l": 34.902
},
"oklch": {
"l": 0.36569,
"c": 0.16774,
"h": 286.4
},
"luminance": 0.04182
}Semantic roles & 50–950 ramp
primary
#3E2290
secondary
#A0BB53
accent
#E543BC
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980