#3E106A#3E106A
#3E106A is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.8% C 0.142 H 301.2°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).
Color values
| HEX | #3E106A |
|---|---|
| RGB | rgb(62, 16, 106) |
| HSL | hsl(271, 74%, 24%) |
| HSV | hsv(271, 85%, 42%) |
| CMYK | cmyk(41.5%, 84.9%, 0%, 58.4%) |
| CIE-LAB | lab(17.62, 39.54, -42.62) |
| CIE-LCH | lch(17.62, 58.13, 312.85°) |
| OKLab | oklab(30.8% 0.0737 -0.1218) |
| OKLCH | oklch(30.8% 0.142 301.2) |
| XYZ | xyz(4.7728, 2.4353, 13.8515) |
| Luminance | 0.0244 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 3.07
Indigo
#4B0082
ΔE00 4.50
Indigo (survey)
#380282
ΔE00 4.85
Dark Indigo
#1F0954
ΔE00 5.92
Midnight Blue
#191970
ΔE00 6.87
Dark Royal Blue
#02066F
ΔE00 7.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E106A #3C6A10
analogous
#11106A #3E106A #6A1069
triadic
#3E106A #6A3E10 #106A3E
tetradic
#3E106A #6A1110 #3C6A10 #10696A
square
#3E106A #6A1110 #3C6A10 #10696A
split-complementary
#3E106A #696A10 #106A11
monochromatic
#10041B #1F0835 #3E106A #5D189F #7C20D4
Accessibility & contrast
On white
14.12
#3E106A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#3E106A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E106A
14.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E106A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E106A | 1.00 | 14.12 | 1.49 | 14.12 |
| #FFFFFF | 14.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002B6C
Deuteranopia (green-blind)
#002B68
Tritanopia (blue-blind)
#34293E
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #3e106a; /* rgb */ color: rgb(62, 16, 106); /* oklch */ color: oklch(30.8% 0.142 301.2);
Tailwind
colors: {
custom: {
50: '#795595',
500: '#3e106a',
950: '#000000',
},
}SCSS
$custom: #3e106a; $custom-light: #795595; $custom-dark: #000000;
JSON
{
"hex": "#3e106a",
"rgb": {
"r": 62,
"g": 16,
"b": 106
},
"hsl": {
"h": 270.667,
"s": 73.77,
"l": 23.922
},
"oklch": {
"l": 0.30798,
"c": 0.14235,
"h": 301.2
},
"luminance": 0.02435
}Semantic roles & 50–950 ramp
primary
#3E106A
secondary
#6AA234
accent
#F03792
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030D
muted
#7B787E