#3D197C#3D197C
#3D197C is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.4% C 0.153 H 292.5°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).
Color values
| HEX | #3D197C |
|---|---|
| RGB | rgb(61, 25, 124) |
| HSL | hsl(262, 66%, 29%) |
| HSV | hsv(262, 80%, 49%) |
| CMYK | cmyk(50.8%, 79.8%, 0%, 51.4%) |
| CIE-LAB | lab(20.61, 40.29, -49.35) |
| CIE-LCH | lch(20.61, 63.71, 309.23°) |
| OKLab | oklab(33.38% 0.0588 -0.1417) |
| OKLCH | oklch(33.38% 0.153 292.5) |
| XYZ | xyz(5.9092, 3.1424, 19.3601) |
| Luminance | 0.0314 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.49
Indigo
#4B0082
ΔE00 3.94
Royal Purple (survey)
#4B006E
ΔE00 5.28
Midnight Blue
#191970
ΔE00 5.54
Royal
#0C1793
ΔE00 6.26
Darkblue
#00008B
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D197C #587C19
analogous
#19277C #3D197C #6F197C
triadic
#3D197C #7C3D19 #197C3D
tetradic
#3D197C #7C1927 #587C19 #197C6F
square
#3D197C #7C1927 #587C19 #197C6F
split-complementary
#3D197C #7C6F19 #277C19
monochromatic
#0D0519 #240F49 #3D197C #5623AF #7238D7
Accessibility & contrast
On white
12.89
#3D197C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#3D197C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D197C
12.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D197C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D197C | 1.00 | 12.89 | 1.63 | 12.89 |
| #FFFFFF | 12.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00337F
Deuteranopia (green-blind)
#00307A
Tritanopia (blue-blind)
#29354A
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #3d197c; /* rgb */ color: rgb(61, 25, 124); /* oklch */ color: oklch(33.4% 0.153 292.5);
Tailwind
colors: {
custom: {
50: '#7a5aa3',
500: '#3d197c',
950: '#000000',
},
}SCSS
$custom: #3d197c; $custom-light: #7a5aa3; $custom-dark: #000000;
JSON
{
"hex": "#3d197c",
"rgb": {
"r": 61,
"g": 25,
"b": 124
},
"hsl": {
"h": 261.818,
"s": 66.443,
"l": 29.216
},
"oklch": {
"l": 0.33381,
"c": 0.15339,
"h": 292.5
},
"luminance": 0.03143
}Semantic roles & 50–950 ramp
primary
#3D197C
secondary
#88B040
accent
#E93EAB
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F