#3D196C#3D196C
#3D196C is a dark, vivid violet. Relative luminance 0.028; OKLCH L 31.9% C 0.134 H 298.0°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).
Color values
| HEX | #3D196C |
|---|---|
| RGB | rgb(61, 25, 108) |
| HSL | hsl(266, 62%, 26%) |
| HSV | hsv(266, 77%, 42%) |
| CMYK | cmyk(43.5%, 76.9%, 0%, 57.6%) |
| CIE-LAB | lab(19.10, 35.79, -41.52) |
| CIE-LCH | lch(19.10, 54.81, 310.76°) |
| OKLab | oklab(31.86% 0.0632 -0.1187) |
| OKLCH | oklch(31.86% 0.134 298) |
| XYZ | xyz(4.9782, 2.7700, 14.4568) |
| Luminance | 0.0277 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 4.51
Indigo
#4B0082
ΔE00 5.28
Indigo (survey)
#380282
ΔE00 5.43
Midnight Blue
#191970
ΔE00 6.09
Dark Indigo
#1F0954
ΔE00 6.21
Dark Royal Blue
#02066F
ΔE00 7.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D196C #486C19
analogous
#191E6C #3D196C #66196C
triadic
#3D196C #6C3D19 #196C3D
tetradic
#3D196C #6C191E #486C19 #196C66
square
#3D196C #6C191E #486C19 #196C66
split-complementary
#3D196C #6C6619 #1E6C19
monochromatic
#0E0619 #210D3A #3D196C #59259E #7530CF
Accessibility & contrast
On white
13.51
#3D196C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#3D196C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D196C
13.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D196C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D196C | 1.00 | 13.51 | 1.55 | 13.51 |
| #FFFFFF | 13.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E6E
Deuteranopia (green-blind)
#002D6A
Tritanopia (blue-blind)
#312E41
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #3d196c; /* rgb */ color: rgb(61, 25, 108); /* oklch */ color: oklch(31.9% 0.134 298.0);
Tailwind
colors: {
custom: {
50: '#785997',
500: '#3d196c',
950: '#000000',
},
}SCSS
$custom: #3d196c; $custom-light: #785997; $custom-dark: #000000;
JSON
{
"hex": "#3d196c",
"rgb": {
"r": 61,
"g": 25,
"b": 108
},
"hsl": {
"h": 266.024,
"s": 62.406,
"l": 26.078
},
"oklch": {
"l": 0.31858,
"c": 0.13448,
"h": 298
},
"luminance": 0.0277
}Semantic roles & 50–950 ramp
primary
#3D196C
secondary
#77A13F
accent
#E5429F
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040D
muted
#7B797E