#3E2397#3E2397
#3E2397 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.4% C 0.175 H 284.8°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).
Color values
| HEX | #3E2397 |
|---|---|
| RGB | rgb(62, 35, 151) |
| HSL | hsl(254, 62%, 36%) |
| HSV | hsv(254, 77%, 59%) |
| CMYK | cmyk(58.9%, 76.8%, 0%, 40.8%) |
| CIE-LAB | lab(25.14, 43.36, -58.78) |
| CIE-LCH | lch(25.14, 73.05, 306.42°) |
| OKLab | oklab(37.39% 0.0448 -0.1693) |
| OKLCH | oklch(37.39% 0.175 284.8) |
| XYZ | xyz(8.1718, 4.4601, 29.7024) |
| Luminance | 0.0446 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.95
Royal
#0C1793
ΔE00 5.12
Cobalt Blue
#030AA7
ΔE00 5.91
Indigo (survey)
#380282
ΔE00 5.95
Ultramarine
#2000B1
ΔE00 5.97
Royal Blue (survey)
#0504AA
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E2397 #7C9723
analogous
#234297 #3E2397 #782397
triadic
#3E2397 #973E23 #23973E
tetradic
#3E2397 #972342 #7C9723 #239778
square
#3E2397 #972342 #7C9723 #239778
split-complementary
#3E2397 #977823 #429723
monochromatic
#150C34 #2A1765 #3E2397 #522FC9 #795BD9
Accessibility & contrast
On white
11.10
#3E2397 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#3E2397 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E2397
11.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E2397 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E2397 | 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)
#003F9A
Deuteranopia (green-blind)
#003895
Tritanopia (blue-blind)
#0D445C
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #3e2397; /* rgb */ color: rgb(62, 35, 151); /* oklch */ color: oklch(37.4% 0.175 284.8);
Tailwind
colors: {
custom: {
50: '#7e61b7',
500: '#3e2397',
950: '#000000',
},
}SCSS
$custom: #3e2397; $custom-light: #7e61b7; $custom-dark: #000000;
JSON
{
"hex": "#3e2397",
"rgb": {
"r": 62,
"g": 35,
"b": 151
},
"hsl": {
"h": 253.966,
"s": 62.366,
"l": 36.471
},
"oklch": {
"l": 0.37394,
"c": 0.17515,
"h": 284.8
},
"luminance": 0.04461
}Semantic roles & 50–950 ramp
primary
#3E2397
secondary
#A6BE58
accent
#E542BF
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980