#3E289E#3E289E
#3E289E is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.7% C 0.178 H 282.7°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).
Color values
| HEX | #3E289E |
|---|---|
| RGB | rgb(62, 40, 158) |
| HSL | hsl(251, 60%, 39%) |
| HSV | hsv(251, 75%, 62%) |
| CMYK | cmyk(60.8%, 74.7%, 0%, 38%) |
| CIE-LAB | lab(26.76, 42.86, -60.39) |
| CIE-LCH | lch(26.76, 74.06, 305.36°) |
| OKLab | oklab(38.75% 0.0393 -0.1741) |
| OKLCH | oklch(38.75% 0.178 282.7) |
| XYZ | xyz(8.9150, 5.0097, 32.8383) |
| Luminance | 0.0501 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.75
Royal
#0C1793
ΔE00 5.77
Sapphire (survey)
#2138AB
ΔE00 6.05
Ultramarine
#2000B1
ΔE00 6.32
Cobalt Blue
#030AA7
ΔE00 6.37
Royal Blue (survey)
#0504AA
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E289E #889E28
analogous
#284D9E #3E289E #79289E
triadic
#3E289E #9E3E28 #289E3E
tetradic
#3E289E #9E284D #889E28 #289E79
square
#3E289E #9E284D #889E28 #289E79
split-complementary
#3E289E #9E7928 #4D9E28
monochromatic
#180F3C #2B1C6D #3E289E #5337CC #7D68D9
Accessibility & contrast
On white
10.49
#3E289E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#3E289E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E289E
10.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E289E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E289E | 1.00 | 10.49 | 2.00 | 10.49 |
| #FFFFFF | 10.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A1
Deuteranopia (green-blind)
#003B9C
Tritanopia (blue-blind)
#004961
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #3e289e; /* rgb */ color: rgb(62, 40, 158); /* oklch */ color: oklch(38.7% 0.178 282.7);
Tailwind
colors: {
custom: {
50: '#7f65bc',
500: '#3e289e',
950: '#000000',
},
}SCSS
$custom: #3e289e; $custom-light: #7f65bc; $custom-dark: #000000;
JSON
{
"hex": "#3e289e",
"rgb": {
"r": 62,
"g": 40,
"b": 158
},
"hsl": {
"h": 251.186,
"s": 59.596,
"l": 38.824
},
"oklch": {
"l": 0.38748,
"c": 0.17847,
"h": 282.7
},
"luminance": 0.0501
}Semantic roles & 50–950 ramp
primary
#3E289E
secondary
#AEBF63
accent
#E345C5
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81