#3D196F#3D196F
#3D196F is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.1% C 0.138 H 296.9°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).
Color values
| HEX | #3D196F |
|---|---|
| RGB | rgb(61, 25, 111) |
| HSL | hsl(265, 63%, 27%) |
| HSV | hsv(265, 77%, 44%) |
| CMYK | cmyk(45%, 77.5%, 0%, 56.5%) |
| CIE-LAB | lab(19.37, 36.63, -43.02) |
| CIE-LCH | lch(19.37, 56.50, 310.41°) |
| OKLab | oklab(32.14% 0.0625 -0.1231) |
| OKLCH | oklch(32.14% 0.138 296.9) |
| XYZ | xyz(5.1406, 2.8350, 15.3122) |
| Luminance | 0.0284 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 4.53
Indigo
#4B0082
ΔE00 4.92
Indigo (survey)
#380282
ΔE00 4.96
Midnight Blue
#191970
ΔE00 5.85
Dark Indigo
#1F0954
ΔE00 6.42
Dark Royal Blue
#02066F
ΔE00 7.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D196F #4B6F19
analogous
#19206F #3D196F #68196F
triadic
#3D196F #6F3D19 #196F3D
tetradic
#3D196F #6F1920 #4B6F19 #196F68
square
#3D196F #6F1920 #4B6F19 #196F68
split-complementary
#3D196F #6F6819 #206F19
monochromatic
#0E0619 #220E3D #3D196F #5824A1 #7432D1
Accessibility & contrast
On white
13.40
#3D196F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#3D196F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D196F
13.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D196F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D196F | 1.00 | 13.40 | 1.57 | 13.40 |
| #FFFFFF | 13.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F71
Deuteranopia (green-blind)
#002E6D
Tritanopia (blue-blind)
#302F42
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #3d196f; /* rgb */ color: rgb(61, 25, 111); /* oklch */ color: oklch(32.1% 0.138 296.9);
Tailwind
colors: {
custom: {
50: '#785a99',
500: '#3d196f',
950: '#000000',
},
}SCSS
$custom: #3d196f; $custom-light: #785a99; $custom-dark: #000000;
JSON
{
"hex": "#3d196f",
"rgb": {
"r": 61,
"g": 25,
"b": 111
},
"hsl": {
"h": 265.116,
"s": 63.235,
"l": 26.667
},
"oklch": {
"l": 0.32135,
"c": 0.13806,
"h": 296.9
},
"luminance": 0.02835
}Semantic roles & 50–950 ramp
primary
#3D196F
secondary
#7AA43F
accent
#E642A1
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E