#3E169E#3E169E
#3E169E is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.8% C 0.194 H 285.0°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).
Color values
| HEX | #3E169E |
|---|---|
| RGB | rgb(62, 22, 158) |
| HSL | hsl(258, 76%, 35%) |
| HSV | hsv(258, 86%, 62%) |
| CMYK | cmyk(60.8%, 86.1%, 0%, 38%) |
| CIE-LAB | lab(23.89, 51.16, -65.14) |
| CIE-LCH | lch(23.89, 82.83, 308.15°) |
| OKLab | oklab(36.75% 0.0503 -0.1877) |
| OKLCH | oklch(36.75% 0.194 285) |
| XYZ | xyz(8.4432, 4.0660, 32.6810) |
| Luminance | 0.0407 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.65
Ultramarine
#2000B1
ΔE00 3.97
Cobalt Blue
#030AA7
ΔE00 4.43
Royal Blue (survey)
#0504AA
ΔE00 4.55
Royal
#0C1793
ΔE00 4.86
Indigo (survey)
#380282
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E169E #769E16
analogous
#16329E #3E169E #82169E
triadic
#3E169E #9E3E16 #169E3E
tetradic
#3E169E #9E1632 #769E16 #169E82
square
#3E169E #9E1632 #769E16 #169E82
split-complementary
#3E169E #9E8216 #329E16
monochromatic
#140733 #290F68 #3E169E #531DD4 #7749E6
Accessibility & contrast
On white
11.58
#3E169E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#3E169E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E169E
11.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E169E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E169E | 1.00 | 11.58 | 1.81 | 11.58 |
| #FFFFFF | 11.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003CA2
Deuteranopia (green-blind)
#00359C
Tritanopia (blue-blind)
#00425D
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #3e169e; /* rgb */ color: rgb(62, 22, 158); /* oklch */ color: oklch(36.8% 0.194 285.0);
Tailwind
colors: {
custom: {
50: '#805bbc',
500: '#3e169e',
950: '#000000',
},
}SCSS
$custom: #3e169e; $custom-light: #805bbc; $custom-dark: #000000;
JSON
{
"hex": "#3e169e",
"rgb": {
"r": 62,
"g": 22,
"b": 158
},
"hsl": {
"h": 257.647,
"s": 75.556,
"l": 35.294
},
"oklch": {
"l": 0.3675,
"c": 0.19432,
"h": 285
},
"luminance": 0.04067
}Semantic roles & 50–950 ramp
primary
#3E169E
secondary
#A2C749
accent
#F236BB
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0412
muted
#7D7981