#3E2292#3E2292
#3E2292 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.8% C 0.170 H 286.0°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).
Color values
| HEX | #3E2292 |
|---|---|
| RGB | rgb(62, 34, 146) |
| HSL | hsl(255, 62%, 35%) |
| HSV | hsv(255, 77%, 57%) |
| CMYK | cmyk(57.5%, 76.7%, 0%, 42.7%) |
| CIE-LAB | lab(24.46, 42.38, -56.82) |
| CIE-LCH | lch(24.46, 70.88, 306.72°) |
| OKLab | oklab(36.77% 0.0469 -0.1636) |
| OKLCH | oklch(36.77% 0.17 286) |
| XYZ | xyz(7.7454, 4.2431, 27.5994) |
| Luminance | 0.0424 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.57
Royal
#0C1793
ΔE00 5.08
Indigo (survey)
#380282
ΔE00 5.44
Indigo
#4B0082
ΔE00 5.95
Cobalt Blue
#030AA7
ΔE00 6.13
Ultramarine
#2000B1
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E2292 #769222
analogous
#223E92 #3E2292 #762292
triadic
#3E2292 #923E22 #22923E
tetradic
#3E2292 #92223E #769222 #229276
square
#3E2292 #92223E #769222 #229276
split-complementary
#3E2292 #927622 #3E9222
monochromatic
#140B2F #291660 #3E2292 #532EC4 #7757D8
Accessibility & contrast
On white
11.36
#3E2292 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#3E2292 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E2292
11.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E2292 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E2292 | 1.00 | 11.36 | 1.85 | 11.36 |
| #FFFFFF | 11.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D95
Deuteranopia (green-blind)
#003790
Tritanopia (blue-blind)
#164158
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #3e2292; /* rgb */ color: rgb(62, 34, 146); /* oklch */ color: oklch(36.8% 0.170 286.0);
Tailwind
colors: {
custom: {
50: '#7d61b3',
500: '#3e2292',
950: '#000000',
},
}SCSS
$custom: #3e2292; $custom-light: #7d61b3; $custom-dark: #000000;
JSON
{
"hex": "#3e2292",
"rgb": {
"r": 62,
"g": 34,
"b": 146
},
"hsl": {
"h": 255,
"s": 62.222,
"l": 35.294
},
"oklch": {
"l": 0.36767,
"c": 0.17015,
"h": 286
},
"luminance": 0.04244
}Semantic roles & 50–950 ramp
primary
#3E2292
secondary
#A2BC54
accent
#E543BD
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980