#3E176F#3E176F
#3E176F is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.0% C 0.141 H 298.0°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).
Color values
| HEX | #3E176F |
|---|---|
| RGB | rgb(62, 23, 111) |
| HSL | hsl(267, 66%, 26%) |
| HSV | hsv(267, 79%, 44%) |
| CMYK | cmyk(44.1%, 79.3%, 0%, 56.5%) |
| CIE-LAB | lab(19.16, 37.79, -43.36) |
| CIE-LCH | lch(19.16, 57.52, 311.08°) |
| OKLab | oklab(32.02% 0.066 -0.124) |
| OKLCH | oklch(32.02% 0.141 298) |
| XYZ | xyz(5.1615, 2.7845, 15.3014) |
| Luminance | 0.0278 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 4.06
Indigo
#4B0082
ΔE00 4.55
Indigo (survey)
#380282
ΔE00 4.73
Midnight Blue
#191970
ΔE00 6.12
Dark Indigo
#1F0954
ΔE00 6.44
Dark Royal Blue
#02066F
ΔE00 7.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E176F #486F17
analogous
#171C6F #3E176F #6A176F
triadic
#3E176F #6F3E17 #176F3E
tetradic
#3E176F #6F171C #486F17 #176F6A
square
#3E176F #6F171C #486F17 #176F6A
split-complementary
#3E176F #6F6A17 #1C6F17
monochromatic
#0E0519 #220C3C #3E176F #5A22A2 #772DD3
Accessibility & contrast
On white
13.49
#3E176F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#3E176F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3E176F
13.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E176F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E176F | 1.00 | 13.49 | 1.56 | 13.49 |
| #FFFFFF | 13.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F71
Deuteranopia (green-blind)
#002E6D
Tritanopia (blue-blind)
#322E42
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #3e176f; /* rgb */ color: rgb(62, 23, 111); /* oklch */ color: oklch(32.0% 0.141 298.0);
Tailwind
colors: {
custom: {
50: '#795999',
500: '#3e176f',
950: '#000000',
},
}SCSS
$custom: #3e176f; $custom-light: #795999; $custom-dark: #000000;
JSON
{
"hex": "#3e176f",
"rgb": {
"r": 62,
"g": 23,
"b": 111
},
"hsl": {
"h": 266.591,
"s": 65.672,
"l": 26.275
},
"oklch": {
"l": 0.32016,
"c": 0.14052,
"h": 298
},
"luminance": 0.02785
}Semantic roles & 50–950 ramp
primary
#3E176F
secondary
#77A53D
accent
#E93F9E
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E