#3E1790#3E1790
#3E1790 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.3% C 0.178 H 288.0°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).
Color values
| HEX | #3E1790 |
|---|---|
| RGB | rgb(62, 23, 144) |
| HSL | hsl(259, 72%, 33%) |
| HSV | hsv(259, 84%, 56%) |
| CMYK | cmyk(56.9%, 84%, 0%, 43.5%) |
| CIE-LAB | lab(22.48, 46.92, -58.84) |
| CIE-LCH | lch(22.48, 75.26, 308.57°) |
| OKLab | oklab(35.33% 0.055 -0.1694) |
| OKLCH | oklch(35.33% 0.178 288) |
| XYZ | xyz(7.3256, 3.6502, 26.6987) |
| Luminance | 0.0365 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.50
Indigo
#4B0082
ΔE00 4.24
Indigo Blue
#3A18B1
ΔE00 4.63
Royal
#0C1793
ΔE00 4.79
Cobalt Blue
#030AA7
ΔE00 5.39
Ultramarine
#2000B1
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E1790 #699017
analogous
#172C90 #3E1790 #7A1790
triadic
#3E1790 #903E17 #17903E
tetradic
#3E1790 #90172C #699017 #17907A
square
#3E1790 #90172C #699017 #17907A
split-complementary
#3E1790 #907A17 #2C9017
monochromatic
#110626 #270F5B #3E1790 #551FC5 #7441E1
Accessibility & contrast
On white
12.14
#3E1790 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#3E1790 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E1790
12.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E1790 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E1790 | 1.00 | 12.14 | 1.73 | 12.14 |
| #FFFFFF | 12.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003893
Deuteranopia (green-blind)
#00328E
Tritanopia (blue-blind)
#193C55
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #3e1790; /* rgb */ color: rgb(62, 23, 144); /* oklch */ color: oklch(35.3% 0.178 288.0);
Tailwind
colors: {
custom: {
50: '#7e5bb2',
500: '#3e1790',
950: '#000000',
},
}SCSS
$custom: #3e1790; $custom-light: #7e5bb2; $custom-dark: #000000;
JSON
{
"hex": "#3e1790",
"rgb": {
"r": 62,
"g": 23,
"b": 144
},
"hsl": {
"h": 259.339,
"s": 72.455,
"l": 32.745
},
"oklch": {
"l": 0.35328,
"c": 0.17808,
"h": 288
},
"luminance": 0.03651
}Semantic roles & 50–950 ramp
primary
#3E1790
secondary
#98C142
accent
#EF39B4
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980