#3E238E#3E238E
#3E238E is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.5% C 0.164 H 286.7°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).
Color values
| HEX | #3E238E |
|---|---|
| RGB | rgb(62, 35, 142) |
| HSL | hsl(255, 60%, 35%) |
| HSV | hsv(255, 75%, 56%) |
| CMYK | cmyk(56.3%, 75.4%, 0%, 44.3%) |
| CIE-LAB | lab(24.25, 40.65, -54.67) |
| CIE-LCH | lch(24.25, 68.13, 306.63°) |
| OKLab | oklab(36.5% 0.0471 -0.1573) |
| OKLCH | oklch(36.5% 0.164 286.7) |
| XYZ | xyz(7.4687, 4.1788, 25.9990) |
| Luminance | 0.0418 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 5.23
Royal
#0C1793
ΔE00 5.29
Indigo (survey)
#380282
ΔE00 5.45
Indigo
#4B0082
ΔE00 5.93
Cobalt Blue
#030AA7
ΔE00 6.61
Midnight Blue
#191970
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E238E #738E23
analogous
#233E8E #3E238E #74238E
triadic
#3E238E #8E3E23 #238E3E
tetradic
#3E238E #8E233E #738E23 #238E74
square
#3E238E #8E233E #738E23 #238E74
split-complementary
#3E238E #8E7423 #3E8E23
monochromatic
#130B2C #29175D #3E238E #532FBF #7656D5
Accessibility & contrast
On white
11.44
#3E238E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#3E238E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E238E
11.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E238E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E238E | 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)
#003C91
Deuteranopia (green-blind)
#00378C
Tritanopia (blue-blind)
#1B4056
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #3e238e; /* rgb */ color: rgb(62, 35, 142); /* oklch */ color: oklch(36.5% 0.164 286.7);
Tailwind
colors: {
custom: {
50: '#7d61b0',
500: '#3e238e',
950: '#000000',
},
}SCSS
$custom: #3e238e; $custom-light: #7d61b0; $custom-dark: #000000;
JSON
{
"hex": "#3e238e",
"rgb": {
"r": 62,
"g": 35,
"b": 142
},
"hsl": {
"h": 255.14,
"s": 60.452,
"l": 34.706
},
"oklch": {
"l": 0.36504,
"c": 0.16421,
"h": 286.7
},
"luminance": 0.04179
}Semantic roles & 50–950 ramp
primary
#3E238E
secondary
#A0B953
accent
#E444BB
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980