#3E2C7D#3E2C7D
#3E2C7D is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.3% C 0.131 H 288.3°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).
Color values
| HEX | #3E2C7D |
|---|---|
| RGB | rgb(62, 44, 125) |
| HSL | hsl(253, 48%, 33%) |
| HSV | hsv(253, 65%, 49%) |
| CMYK | cmyk(50.4%, 64.8%, 0%, 51%) |
| CIE-LAB | lab(24.66, 30.14, -43.37) |
| CIE-LCH | lch(24.66, 52.81, 304.80°) |
| OKLab | oklab(36.33% 0.0412 -0.1241) |
| OKLCH | oklch(36.33% 0.131 288.3) |
| XYZ | xyz(6.5879, 4.3059, 19.8821) |
| Luminance | 0.0431 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.03
Midnight Blue
#191970
ΔE00 6.62
Blueberry
#464196
ΔE00 6.78
Royal
#0C1793
ΔE00 7.98
Indigo (survey)
#380282
ΔE00 8.03
Rebeccapurple
#663399
ΔE00 8.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E2C7D #6B7D2C
analogous
#2C427D #3E2C7D #662C7D
triadic
#3E2C7D #7D3E2C #2C7D3E
tetradic
#3E2C7D #7D2C42 #6B7D2C #2C7D66
square
#3E2C7D #7D2C42 #6B7D2C #2C7D66
split-complementary
#3E2C7D #7D662C #427D2C
monochromatic
#110C22 #281C50 #3E2C7D #543CAA #755DC6
Accessibility & contrast
On white
11.28
#3E2C7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#3E2C7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E2C7D
11.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E2C7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E2C7D | 1.00 | 11.28 | 1.86 | 11.28 |
| #FFFFFF | 11.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C80
Deuteranopia (green-blind)
#00387B
Tritanopia (blue-blind)
#293F50
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #3e2c7d; /* rgb */ color: rgb(62, 44, 125); /* oklch */ color: oklch(36.3% 0.131 288.3);
Tailwind
colors: {
custom: {
50: '#7966a3',
500: '#3e2c7d',
950: '#000000',
},
}SCSS
$custom: #3e2c7d; $custom-light: #7966a3; $custom-dark: #000000;
JSON
{
"hex": "#3e2c7d",
"rgb": {
"r": 62,
"g": 44,
"b": 125
},
"hsl": {
"h": 253.333,
"s": 47.929,
"l": 33.137
},
"oklch": {
"l": 0.36329,
"c": 0.13079,
"h": 288.3
},
"luminance": 0.04306
}Semantic roles & 50–950 ramp
primary
#3E2C7D
secondary
#9AAC59
accent
#D850B9
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#09060F
muted
#7B7A7F