#3E2495#3E2495
#3E2495 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.3% C 0.172 H 285.0°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).
Color values
| HEX | #3E2495 |
|---|---|
| RGB | rgb(62, 36, 149) |
| HSL | hsl(254, 61%, 36%) |
| HSV | hsv(254, 76%, 58%) |
| CMYK | cmyk(58.4%, 75.8%, 0%, 41.6%) |
| CIE-LAB | lab(25.12, 42.24, -57.58) |
| CIE-LCH | lch(25.12, 71.41, 306.26°) |
| OKLab | oklab(37.32% 0.0445 -0.1658) |
| OKLCH | oklch(37.32% 0.172 285) |
| XYZ | xyz(8.0406, 4.4553, 28.8642) |
| Luminance | 0.0446 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.31
Royal
#0C1793
ΔE00 5.21
Indigo (survey)
#380282
ΔE00 6.01
Cobalt Blue
#030AA7
ΔE00 6.18
Ultramarine
#2000B1
ΔE00 6.30
Indigo
#4B0082
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E2495 #7B9524
analogous
#244395 #3E2495 #772495
triadic
#3E2495 #953E24 #24953E
tetradic
#3E2495 #952443 #7B9524 #249577
square
#3E2495 #952443 #7B9524 #249577
split-complementary
#3E2495 #957724 #439524
monochromatic
#150C32 #291864 #3E2495 #5330C6 #785CD8
Accessibility & contrast
On white
11.10
#3E2495 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#3E2495 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E2495
11.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E2495 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E2495 | 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)
#003F98
Deuteranopia (green-blind)
#003893
Tritanopia (blue-blind)
#11445B
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #3e2495; /* rgb */ color: rgb(62, 36, 149); /* oklch */ color: oklch(37.3% 0.172 285.0);
Tailwind
colors: {
custom: {
50: '#7e62b5',
500: '#3e2495',
950: '#000000',
},
}SCSS
$custom: #3e2495; $custom-light: #7e62b5; $custom-dark: #000000;
JSON
{
"hex": "#3e2495",
"rgb": {
"r": 62,
"g": 36,
"b": 149
},
"hsl": {
"h": 253.805,
"s": 61.081,
"l": 36.275
},
"oklch": {
"l": 0.37324,
"c": 0.17169,
"h": 285
},
"luminance": 0.04456
}Semantic roles & 50–950 ramp
primary
#3E2495
secondary
#A5BC59
accent
#E444BF
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980