#3D179F#3D179F
#3D179F is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.9% C 0.195 H 284.2°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).
Color values
| HEX | #3D179F |
|---|---|
| RGB | rgb(61, 23, 159) |
| HSL | hsl(257, 75%, 36%) |
| HSV | hsv(257, 86%, 62%) |
| CMYK | cmyk(61.6%, 85.5%, 0%, 37.6%) |
| CIE-LAB | lab(24.02, 50.96, -65.53) |
| CIE-LCH | lch(24.02, 83.01, 307.88°) |
| OKLab | oklab(36.85% 0.0478 -0.1889) |
| OKLCH | oklch(36.85% 0.195 284.2) |
| XYZ | xyz(8.4869, 4.1075, 33.1398) |
| Luminance | 0.0411 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.46
Ultramarine
#2000B1
ΔE00 3.89
Cobalt Blue
#030AA7
ΔE00 4.34
Royal Blue (survey)
#0504AA
ΔE00 4.47
Royal
#0C1793
ΔE00 4.77
Indigo (survey)
#380282
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D179F #799F17
analogous
#17359F #3D179F #81179F
triadic
#3D179F #9F3D17 #179F3D
tetradic
#3D179F #9F1735 #799F17 #179F81
square
#3D179F #9F1735 #799F17 #179F81
split-complementary
#3D179F #9F8117 #359F17
monochromatic
#140834 #280F6A #3D179F #521FD4 #764BE5
Accessibility & contrast
On white
11.53
#3D179F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#3D179F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D179F
11.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D179F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D179F | 1.00 | 11.53 | 1.82 | 11.53 |
| #FFFFFF | 11.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003DA3
Deuteranopia (green-blind)
#00359D
Tritanopia (blue-blind)
#00435E
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #3d179f; /* rgb */ color: rgb(61, 23, 159); /* oklch */ color: oklch(36.9% 0.195 284.2);
Tailwind
colors: {
custom: {
50: '#805cbd',
500: '#3d179f',
950: '#000000',
},
}SCSS
$custom: #3d179f; $custom-light: #805cbd; $custom-dark: #000000;
JSON
{
"hex": "#3d179f",
"rgb": {
"r": 61,
"g": 23,
"b": 159
},
"hsl": {
"h": 256.765,
"s": 74.725,
"l": 35.686
},
"oklch": {
"l": 0.36851,
"c": 0.19484,
"h": 284.2
},
"luminance": 0.04108
}Semantic roles & 50–950 ramp
primary
#3D179F
secondary
#A4C74B
accent
#F136BD
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0412
muted
#7D7981