#3E237F#3E237F
#3E237F is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.1% C 0.146 H 290.3°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).
Color values
| HEX | #3E237F |
|---|---|
| RGB | rgb(62, 35, 127) |
| HSL | hsl(258, 57%, 32%) |
| HSV | hsv(258, 72%, 50%) |
| CMYK | cmyk(51.2%, 72.4%, 0%, 50.2%) |
| CIE-LAB | lab(22.86, 36.12, -47.57) |
| CIE-LCH | lch(22.86, 59.72, 307.21°) |
| OKLab | oklab(35.08% 0.0505 -0.1365) |
| OKLCH | oklch(35.08% 0.146 290.3) |
| XYZ | xyz(6.4173, 3.7582, 20.4618) |
| Luminance | 0.0376 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 5.50
Midnight Blue
#191970
ΔE00 5.74
Indigo
#4B0082
ΔE00 5.75
Royal
#0C1793
ΔE00 6.52
Royal Purple (survey)
#4B006E
ΔE00 7.04
Darkslateblue
#483D8B
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E237F #647F23
analogous
#23367F #3E237F #6C237F
triadic
#3E237F #7F3E23 #237F3E
tetradic
#3E237F #7F2336 #647F23 #237F6C
square
#3E237F #7F2336 #647F23 #237F6C
split-complementary
#3E237F #7F6C23 #367F23
monochromatic
#0F091F #27164F #3E237F #5530AF #744ECE
Accessibility & contrast
On white
11.99
#3E237F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#3E237F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E237F
11.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E237F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E237F | 1.00 | 11.99 | 1.75 | 11.99 |
| #FFFFFF | 11.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003882
Deuteranopia (green-blind)
#00347D
Tritanopia (blue-blind)
#283B4E
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #3e237f; /* rgb */ color: rgb(62, 35, 127); /* oklch */ color: oklch(35.1% 0.146 290.3);
Tailwind
colors: {
custom: {
50: '#7a60a5',
500: '#3e237f',
950: '#000000',
},
}SCSS
$custom: #3e237f; $custom-light: #7a60a5; $custom-dark: #000000;
JSON
{
"hex": "#3e237f",
"rgb": {
"r": 62,
"g": 35,
"b": 127
},
"hsl": {
"h": 257.609,
"s": 56.79,
"l": 31.765
},
"oklch": {
"l": 0.35083,
"c": 0.14551,
"h": 290.3
},
"luminance": 0.03759
}Semantic roles & 50–950 ramp
primary
#3E237F
secondary
#94B14C
accent
#E048B3
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A050F
muted
#7C797F