#3B176F#3B176F
#3B176F is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.6% C 0.140 H 295.9°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).
Color values
| HEX | #3B176F |
|---|---|
| RGB | rgb(59, 23, 111) |
| HSL | hsl(265, 66%, 26%) |
| HSV | hsv(265, 79%, 44%) |
| CMYK | cmyk(46.8%, 79.3%, 0%, 56.5%) |
| CIE-LAB | lab(18.76, 37.26, -44.03) |
| CIE-LCH | lch(18.76, 57.68, 310.24°) |
| OKLab | oklab(31.65% 0.0612 -0.1261) |
| OKLCH | oklch(31.65% 0.14 295.9) |
| XYZ | xyz(4.9785, 2.6902, 15.2928) |
| Luminance | 0.0269 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 4.50
Indigo (survey)
#380282
ΔE00 4.56
Indigo
#4B0082
ΔE00 4.78
Midnight Blue
#191970
ΔE00 5.53
Dark Indigo
#1F0954
ΔE00 6.08
Dark Royal Blue
#02066F
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3B176F #4B6F17
analogous
#171F6F #3B176F #67176F
triadic
#3B176F #6F3B17 #176F3B
tetradic
#3B176F #6F171F #4B6F17 #176F67
square
#3B176F #6F171F #4B6F17 #176F67
split-complementary
#3B176F #6F6717 #1F6F17
monochromatic
#0D0519 #200C3C #3B176F #5622A2 #712DD3
Accessibility & contrast
On white
13.65
#3B176F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#3B176F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3B176F
13.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3B176F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3B176F | 1.00 | 13.65 | 1.54 | 13.65 |
| #FFFFFF | 13.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E71
Deuteranopia (green-blind)
#002C6D
Tritanopia (blue-blind)
#2D2F42
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #3b176f; /* rgb */ color: rgb(59, 23, 111); /* oklch */ color: oklch(31.6% 0.140 295.9);
Tailwind
colors: {
custom: {
50: '#775899',
500: '#3b176f',
950: '#000000',
},
}SCSS
$custom: #3b176f; $custom-light: #775899; $custom-dark: #000000;
JSON
{
"hex": "#3b176f",
"rgb": {
"r": 59,
"g": 23,
"b": 111
},
"hsl": {
"h": 264.545,
"s": 65.672,
"l": 26.275
},
"oklch": {
"l": 0.31645,
"c": 0.14019,
"h": 295.9
},
"luminance": 0.0269
}Semantic roles & 50–950 ramp
primary
#3B176F
secondary
#7AA53D
accent
#E93FA3
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E