#3E1693#3E1693
#3E1693 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.6% C 0.182 H 287.4°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).
Color values
| HEX | #3E1693 |
|---|---|
| RGB | rgb(62, 22, 147) |
| HSL | hsl(259, 74%, 33%) |
| HSV | hsv(259, 85%, 58%) |
| CMYK | cmyk(57.8%, 85%, 0%, 42.4%) |
| CIE-LAB | lab(22.67, 48.15, -60.39) |
| CIE-LCH | lch(22.67, 77.23, 308.57°) |
| OKLab | oklab(35.55% 0.0545 -0.1739) |
| OKLCH | oklch(35.55% 0.182 287.4) |
| XYZ | xyz(7.5384, 3.7041, 27.9158) |
| Luminance | 0.0370 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.67
Indigo Blue
#3A18B1
ΔE00 4.21
Indigo
#4B0082
ΔE00 4.41
Royal
#0C1793
ΔE00 4.73
Ultramarine
#2000B1
ΔE00 5.04
Cobalt Blue
#030AA7
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E1693 #6B9316
analogous
#162C93 #3E1693 #7C1693
triadic
#3E1693 #933E16 #16933E
tetradic
#3E1693 #93162C #6B9316 #16937C
square
#3E1693 #93162C #6B9316 #16937C
split-complementary
#3E1693 #937C16 #2C9316
monochromatic
#110629 #280E5E #3E1693 #541EC8 #7541E3
Accessibility & contrast
On white
12.06
#3E1693 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#3E1693 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E1693
12.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E1693 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E1693 | 1.00 | 12.06 | 1.74 | 12.06 |
| #FFFFFF | 12.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003996
Deuteranopia (green-blind)
#003391
Tritanopia (blue-blind)
#153D57
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #3e1693; /* rgb */ color: rgb(62, 22, 147); /* oklch */ color: oklch(35.6% 0.182 287.4);
Tailwind
colors: {
custom: {
50: '#7e5bb4',
500: '#3e1693',
950: '#000000',
},
}SCSS
$custom: #3e1693; $custom-light: #7e5bb4; $custom-dark: #000000;
JSON
{
"hex": "#3e1693",
"rgb": {
"r": 62,
"g": 22,
"b": 147
},
"hsl": {
"h": 259.2,
"s": 73.964,
"l": 33.137
},
"oklch": {
"l": 0.35554,
"c": 0.18221,
"h": 287.4
},
"luminance": 0.03705
}Semantic roles & 50–950 ramp
primary
#3E1693
secondary
#9AC342
accent
#F137B5
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980