#3B196E#3B196E
#3B196E is a dark, vivid violet. Relative luminance 0.028; OKLCH L 31.8% C 0.137 H 295.8°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).
Color values
| HEX | #3B196E |
|---|---|
| RGB | rgb(59, 25, 110) |
| HSL | hsl(264, 63%, 26%) |
| HSV | hsv(264, 77%, 43%) |
| CMYK | cmyk(46.4%, 77.3%, 0%, 56.9%) |
| CIE-LAB | lab(19.02, 35.98, -42.96) |
| CIE-LCH | lch(19.02, 56.04, 309.94°) |
| OKLab | oklab(31.8% 0.0595 -0.123) |
| OKLCH | oklch(31.8% 0.137 295.8) |
| XYZ | xyz(4.9650, 2.7507, 15.0182) |
| Luminance | 0.0275 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 4.81
Indigo (survey)
#380282
ΔE00 5.02
Indigo
#4B0082
ΔE00 5.18
Midnight Blue
#191970
ΔE00 5.52
Dark Indigo
#1F0954
ΔE00 6.11
Dark Royal Blue
#02066F
ΔE00 7.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3B196E #4C6E19
analogous
#19226E #3B196E #66196E
triadic
#3B196E #6E3B19 #196E3B
tetradic
#3B196E #6E1922 #4C6E19 #196E66
square
#3B196E #6E1922 #4C6E19 #196E66
split-complementary
#3B196E #6E6619 #226E19
monochromatic
#0D0619 #200E3C #3B196E #5624A0 #7131D0
Accessibility & contrast
On white
13.55
#3B196E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#3B196E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3B196E
13.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3B196E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3B196E | 1.00 | 13.55 | 1.55 | 13.55 |
| #FFFFFF | 13.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F70
Deuteranopia (green-blind)
#002D6C
Tritanopia (blue-blind)
#2D2F42
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #3b196e; /* rgb */ color: rgb(59, 25, 110); /* oklch */ color: oklch(31.8% 0.137 295.8);
Tailwind
colors: {
custom: {
50: '#775998',
500: '#3b196e',
950: '#000000',
},
}SCSS
$custom: #3b196e; $custom-light: #775998; $custom-dark: #000000;
JSON
{
"hex": "#3b196e",
"rgb": {
"r": 59,
"g": 25,
"b": 110
},
"hsl": {
"h": 264,
"s": 62.963,
"l": 26.471
},
"oklch": {
"l": 0.31798,
"c": 0.13665,
"h": 295.8
},
"luminance": 0.02751
}Semantic roles & 50–950 ramp
primary
#3B196E
secondary
#7BA33F
accent
#E642A4
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E