#3E299B#3E299B
#3E299B is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.6% C 0.174 H 283.1°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).
Color values
| HEX | #3E299B |
|---|---|
| RGB | rgb(62, 41, 155) |
| HSL | hsl(251, 58%, 38%) |
| HSV | hsv(251, 74%, 61%) |
| CMYK | cmyk(60%, 73.5%, 0%, 39.2%) |
| CIE-LAB | lab(26.67, 41.38, -58.72) |
| CIE-LCH | lch(26.67, 71.84, 305.17°) |
| OKLab | oklab(38.59% 0.0393 -0.1692) |
| OKLCH | oklch(38.59% 0.174 283.1) |
| XYZ | xyz(8.6941, 4.9760, 31.5063) |
| Luminance | 0.0498 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.23
Royal
#0C1793
ΔE00 5.83
Sapphire (survey)
#2138AB
ΔE00 6.03
Darkslateblue
#483D8B
ΔE00 6.60
Cobalt Blue
#030AA7
ΔE00 6.65
Ultramarine
#2000B1
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E299B #869B29
analogous
#294D9B #3E299B #77299B
triadic
#3E299B #9B3E29 #299B3E
tetradic
#3E299B #9B294D #869B29 #299B77
square
#3E299B #9B294D #869B29 #299B77
split-complementary
#3E299B #9B7729 #4D9B29
monochromatic
#170F3A #2B1C6B #3E299B #5237CA #7C67D7
Accessibility & contrast
On white
10.52
#3E299B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#3E299B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E299B
10.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E299B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E299B | 1.00 | 10.52 | 2.00 | 10.52 |
| #FFFFFF | 10.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00439E
Deuteranopia (green-blind)
#003B99
Tritanopia (blue-blind)
#01485F
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #3e299b; /* rgb */ color: rgb(62, 41, 155); /* oklch */ color: oklch(38.6% 0.174 283.1);
Tailwind
colors: {
custom: {
50: '#7e65ba',
500: '#3e299b',
950: '#000000',
},
}SCSS
$custom: #3e299b; $custom-light: #7e65ba; $custom-dark: #000000;
JSON
{
"hex": "#3e299b",
"rgb": {
"r": 62,
"g": 41,
"b": 155
},
"hsl": {
"h": 251.053,
"s": 58.163,
"l": 38.431
},
"oklch": {
"l": 0.38592,
"c": 0.17368,
"h": 283.1
},
"luminance": 0.04977
}Semantic roles & 50–950 ramp
primary
#3E299B
secondary
#ACBD63
accent
#E146C5
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81