#3E298F#3E298F
#3E298F is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.4% C 0.159 H 285.3°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).
Color values
| HEX | #3E298F |
|---|---|
| RGB | rgb(62, 41, 143) |
| HSL | hsl(252, 55%, 36%) |
| HSV | hsv(252, 71%, 56%) |
| CMYK | cmyk(56.6%, 71.3%, 0%, 43.9%) |
| CIE-LAB | lab(25.54, 37.63, -53.18) |
| CIE-LCH | lch(25.54, 65.15, 305.28°) |
| OKLab | oklab(37.45% 0.0417 -0.153) |
| OKLCH | oklch(37.45% 0.159 285.3) |
| XYZ | xyz(7.7360, 4.5927, 26.4601) |
| Luminance | 0.0459 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 5.74
Darkslateblue
#483D8B
ΔE00 5.92
Royal
#0C1793
ΔE00 5.95
Blueberry
#464196
ΔE00 6.73
Indigo (survey)
#380282
ΔE00 6.86
Sapphire (survey)
#2138AB
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E298F #7A8F29
analogous
#29478F #3E298F #71298F
triadic
#3E298F #8F3E29 #298F3E
tetradic
#3E298F #8F2947 #7A8F29 #298F71
square
#3E298F #8F2947 #7A8F29 #298F71
split-complementary
#3E298F #8F7129 #478F29
monochromatic
#150E30 #291B5F #3E298F #5337BF #7861D2
Accessibility & contrast
On white
10.95
#3E298F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#3E298F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E298F
10.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E298F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E298F | 1.00 | 10.95 | 1.92 | 10.95 |
| #FFFFFF | 10.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F92
Deuteranopia (green-blind)
#00398D
Tritanopia (blue-blind)
#194459
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #3e298f; /* rgb */ color: rgb(62, 41, 143); /* oklch */ color: oklch(37.4% 0.159 285.3);
Tailwind
colors: {
custom: {
50: '#7c65b1',
500: '#3e298f',
950: '#000000',
},
}SCSS
$custom: #3e298f; $custom-light: #7c65b1; $custom-dark: #000000;
JSON
{
"hex": "#3e298f",
"rgb": {
"r": 62,
"g": 41,
"b": 143
},
"hsl": {
"h": 252.353,
"s": 55.435,
"l": 36.078
},
"oklch": {
"l": 0.37447,
"c": 0.15856,
"h": 285.3
},
"luminance": 0.04593
}Semantic roles & 50–950 ramp
primary
#3E298F
secondary
#A5B75C
accent
#DF49C0
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0611
muted
#7C7A80