#3E2C8C#3E2C8C
#3E2C8C is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.6% C 0.151 H 285.1°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).
Color values
| HEX | #3E2C8C |
|---|---|
| RGB | rgb(62, 44, 140) |
| HSL | hsl(251, 52%, 36%) |
| HSV | hsv(251, 69%, 55%) |
| CMYK | cmyk(55.7%, 68.6%, 0%, 45.1%) |
| CIE-LAB | lab(25.92, 34.91, -50.71) |
| CIE-LCH | lch(25.92, 61.57, 304.55°) |
| OKLab | oklab(37.63% 0.0394 -0.1457) |
| OKLCH | oklch(37.63% 0.151 285.1) |
| XYZ | xyz(7.6195, 4.7185, 25.3151) |
| Luminance | 0.0472 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.06
Blueberry
#464196
ΔE00 6.01
Royal
#0C1793
ΔE00 6.58
Indigo Blue
#3A18B1
ΔE00 6.62
Sapphire (survey)
#2138AB
ΔE00 6.84
Midnight Blue
#191970
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E2C8C #7A8C2C
analogous
#2C4A8C #3E2C8C #6E2C8C
triadic
#3E2C8C #8C3E2C #2C8C3E
tetradic
#3E2C8C #8C2C4A #7A8C2C #2C8C6E
square
#3E2C8C #8C2C4A #7A8C2C #2C8C6E
split-complementary
#3E2C8C #8C6E2C #4A8C2C
monochromatic
#150F2F #291D5D #3E2C8C #533BBB #7864CE
Accessibility & contrast
On white
10.80
#3E2C8C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#3E2C8C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E2C8C
10.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E2C8C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E2C8C | 1.00 | 10.80 | 1.94 | 10.80 |
| #FFFFFF | 10.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00408F
Deuteranopia (green-blind)
#003A8A
Tritanopia (blue-blind)
#1C4458
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #3e2c8c; /* rgb */ color: rgb(62, 44, 140); /* oklch */ color: oklch(37.6% 0.151 285.1);
Tailwind
colors: {
custom: {
50: '#7c66ae',
500: '#3e2c8c',
950: '#000000',
},
}SCSS
$custom: #3e2c8c; $custom-light: #7c66ae; $custom-dark: #000000;
JSON
{
"hex": "#3e2c8c",
"rgb": {
"r": 62,
"g": 44,
"b": 140
},
"hsl": {
"h": 251.25,
"s": 52.174,
"l": 36.078
},
"oklch": {
"l": 0.37634,
"c": 0.15096,
"h": 285.1
},
"luminance": 0.04719
}Semantic roles & 50–950 ramp
primary
#3E2C8C
secondary
#A5B55F
accent
#DC4CC1
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F