#3E299E#3E299E
#3E299E is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.9% C 0.177 H 282.6°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).
Color values
| HEX | #3E299E |
|---|---|
| RGB | rgb(62, 41, 158) |
| HSL | hsl(251, 59%, 39%) |
| HSV | hsv(251, 74%, 62%) |
| CMYK | cmyk(60.8%, 74.1%, 0%, 38%) |
| CIE-LAB | lab(26.96, 42.31, -60.08) |
| CIE-LCH | lch(26.96, 73.48, 305.16°) |
| OKLab | oklab(38.89% 0.0386 -0.1732) |
| OKLCH | oklch(38.89% 0.177 282.6) |
| XYZ | xyz(8.9492, 5.0780, 32.8497) |
| Luminance | 0.0508 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.92
Sapphire (survey)
#2138AB
ΔE00 5.87
Royal
#0C1793
ΔE00 5.90
Ultramarine
#2000B1
ΔE00 6.51
Cobalt Blue
#030AA7
ΔE00 6.54
Darkslateblue
#483D8B
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E299E #899E29
analogous
#294F9E #3E299E #79299E
triadic
#3E299E #9E3E29 #299E3E
tetradic
#3E299E #9E294F #899E29 #299E79
square
#3E299E #9E294F #899E29 #299E79
split-complementary
#3E299E #9E7929 #4F9E29
monochromatic
#18103D #2B1C6D #3E299E #5339CC #7D69D8
Accessibility & contrast
On white
10.42
#3E299E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#3E299E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E299E
10.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E299E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E299E | 1.00 | 10.42 | 2.02 | 10.42 |
| #FFFFFF | 10.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A1
Deuteranopia (green-blind)
#003C9C
Tritanopia (blue-blind)
#004961
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #3e299e; /* rgb */ color: rgb(62, 41, 158); /* oklch */ color: oklch(38.9% 0.177 282.6);
Tailwind
colors: {
custom: {
50: '#7f65bc',
500: '#3e299e',
950: '#000000',
},
}SCSS
$custom: #3e299e; $custom-light: #7f65bc; $custom-dark: #000000;
JSON
{
"hex": "#3e299e",
"rgb": {
"r": 62,
"g": 41,
"b": 158
},
"hsl": {
"h": 250.769,
"s": 58.794,
"l": 39.02
},
"oklch": {
"l": 0.38885,
"c": 0.17741,
"h": 282.6
},
"luminance": 0.05079
}Semantic roles & 50–950 ramp
primary
#3E299E
secondary
#AEBF64
accent
#E246C6
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81