#3E3852#3E3852
#3E3852 is a dark, muted violet. Relative luminance 0.045; OKLCH L 35.8% C 0.045 H 294.6°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).
Color values
| HEX | #3E3852 |
|---|---|
| RGB | rgb(62, 56, 82) |
| HSL | hsl(254, 19%, 27%) |
| HSV | hsv(254, 32%, 32%) |
| CMYK | cmyk(24.4%, 31.7%, 0%, 67.8%) |
| CIE-LAB | lab(25.14, 9.05, -14.82) |
| CIE-LCH | lch(25.14, 17.36, 301.41°) |
| OKLab | oklab(35.82% 0.0187 -0.0409) |
| OKLCH | oklch(35.82% 0.045 294.6) |
| XYZ | xyz(4.9234, 4.4616, 8.5828) |
| Luminance | 0.0446 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 9.28
Dusk
#4E5481
ΔE00 11.76
Dark
#1B2431
ΔE00 12.76
Marine
#042E60
ΔE00 13.15
Twilight
#4E518B
ΔE00 13.20
Darkslateblue
#483D8B
ΔE00 13.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E3852 #4C5238
analogous
#383F52 #3E3852 #4B3852
triadic
#3E3852 #523E38 #38523E
tetradic
#3E3852 #52383F #4C5238 #38524B
square
#3E3852 #52383F #4C5238 #38524B
split-complementary
#3E3852 #524B38 #3F5238
monochromatic
#0E0C12 #231F2E #3E3852 #595176 #766B9A
Accessibility & contrast
On white
11.10
#3E3852 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#3E3852 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E3852
11.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E3852 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E3852 | 1.00 | 11.10 | 1.89 | 11.10 |
| #FFFFFF | 11.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#323C53
Deuteranopia (green-blind)
#323B51
Tritanopia (blue-blind)
#3A3C41
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #3e3852; /* rgb */ color: rgb(62, 56, 82); /* oklch */ color: oklch(35.8% 0.045 294.6);
Tailwind
colors: {
custom: {
50: '#736e82',
500: '#3e3852',
950: '#000000',
},
}SCSS
$custom: #3e3852; $custom-light: #736e82; $custom-dark: #000000;
JSON
{
"hex": "#3e3852",
"rgb": {
"r": 62,
"g": 56,
"b": 82
},
"hsl": {
"h": 253.846,
"s": 18.841,
"l": 27.059
},
"oklch": {
"l": 0.35816,
"c": 0.04495,
"h": 294.6
},
"luminance": 0.04462
}Semantic roles & 50–950 ramp
primary
#3E3852
secondary
#7B8264
accent
#BB6CA9
background
#F7F6F8
surface
#EDEBEF
border
#C8C6CA
text
#08070A
muted
#7B7A7C