#45196F#45196F
#45196F is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.2% C 0.139 H 302.6°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).
Color values
| HEX | #45196F |
|---|---|
| RGB | rgb(69, 25, 111) |
| HSL | hsl(271, 63%, 27%) |
| HSV | hsv(271, 77%, 44%) |
| CMYK | cmyk(37.8%, 77.5%, 0%, 56.5%) |
| CIE-LAB | lab(20.47, 38.16, -41.18) |
| CIE-LCH | lch(20.47, 56.14, 312.82°) |
| OKLab | oklab(33.15% 0.0751 -0.1174) |
| OKLCH | oklch(33.15% 0.139 302.6) |
| XYZ | xyz(5.6704, 3.1082, 15.3370) |
| Luminance | 0.0311 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 3.60
Indigo
#4B0082
ΔE00 4.60
Indigo (survey)
#380282
ΔE00 5.64
Midnight Blue
#191970
ΔE00 7.50
Dark Indigo
#1F0954
ΔE00 7.52
Plum Purple
#4E0550
ΔE00 8.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#45196F #436F19
analogous
#1A196F #45196F #6F196E
triadic
#45196F #6F4519 #196F45
tetradic
#45196F #6F1A19 #436F19 #196E6F
square
#45196F #6F1A19 #436F19 #196E6F
split-complementary
#45196F #6E6F19 #196F1A
monochromatic
#100619 #260E3D #45196F #6424A1 #8332D1
Accessibility & contrast
On white
12.95
#45196F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#45196F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #45196F
12.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##45196F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##45196F | 1.00 | 12.95 | 1.62 | 12.95 |
| #FFFFFF | 12.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003171
Deuteranopia (green-blind)
#00316D
Tritanopia (blue-blind)
#3C2E43
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #45196f; /* rgb */ color: rgb(69, 25, 111); /* oklch */ color: oklch(33.2% 0.139 302.6);
Tailwind
colors: {
custom: {
50: '#7d5a99',
500: '#45196f',
950: '#000000',
},
}SCSS
$custom: #45196f; $custom-light: #7d5a99; $custom-dark: #000000;
JSON
{
"hex": "#45196f",
"rgb": {
"r": 69,
"g": 25,
"b": 111
},
"hsl": {
"h": 270.698,
"s": 63.235,
"l": 26.667
},
"oklch": {
"l": 0.33154,
"c": 0.13935,
"h": 302.6
},
"luminance": 0.03108
}Semantic roles & 50–950 ramp
primary
#45196F
secondary
#71A43F
accent
#E64292
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E