#3B186E#3B186E
#3B186E is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.7% C 0.138 H 296.0°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).
Color values
| HEX | #3B186E |
|---|---|
| RGB | rgb(59, 24, 110) |
| HSL | hsl(264, 64%, 26%) |
| HSV | hsv(264, 78%, 43%) |
| CMYK | cmyk(46.4%, 78.2%, 0%, 56.9%) |
| CIE-LAB | lab(18.84, 36.48, -43.26) |
| CIE-LCH | lch(18.84, 56.59, 310.15°) |
| OKLab | oklab(31.67% 0.0605 -0.1239) |
| OKLCH | oklch(31.67% 0.138 296) |
| XYZ | xyz(4.9440, 2.7087, 15.0112) |
| Luminance | 0.0271 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 4.64
Indigo (survey)
#380282
ΔE00 4.86
Indigo
#4B0082
ΔE00 5.03
Midnight Blue
#191970
ΔE00 5.56
Dark Indigo
#1F0954
ΔE00 6.05
Dark Royal Blue
#02066F
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3B186E #4B6E18
analogous
#18206E #3B186E #66186E
triadic
#3B186E #6E3B18 #186E3B
tetradic
#3B186E #6E1820 #4B6E18 #186E66
square
#3B186E #6E1820 #4B6E18 #186E66
split-complementary
#3B186E #6E6618 #206E18
monochromatic
#0D0519 #200D3C #3B186E #5623A0 #712FD2
Accessibility & contrast
On white
13.62
#3B186E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#3B186E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3B186E
13.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3B186E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3B186E | 1.00 | 13.62 | 1.54 | 13.62 |
| #FFFFFF | 13.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E70
Deuteranopia (green-blind)
#002D6C
Tritanopia (blue-blind)
#2D2F42
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #3b186e; /* rgb */ color: rgb(59, 24, 110); /* oklch */ color: oklch(31.7% 0.138 296.0);
Tailwind
colors: {
custom: {
50: '#775998',
500: '#3b186e',
950: '#000000',
},
}SCSS
$custom: #3b186e; $custom-light: #775998; $custom-dark: #000000;
JSON
{
"hex": "#3b186e",
"rgb": {
"r": 59,
"g": 24,
"b": 110
},
"hsl": {
"h": 264.419,
"s": 64.179,
"l": 26.275
},
"oklch": {
"l": 0.31672,
"c": 0.13784,
"h": 296
},
"luminance": 0.02709
}Semantic roles & 50–950 ramp
primary
#3B186E
secondary
#7AA43E
accent
#E741A3
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E