#45166F#45166F
#45166F is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.8% C 0.143 H 303.1°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).
Color values
| HEX | #45166F |
|---|---|
| RGB | rgb(69, 22, 111) |
| HSL | hsl(272, 67%, 26%) |
| HSV | hsv(272, 80%, 44%) |
| CMYK | cmyk(37.8%, 80.2%, 0%, 56.5%) |
| CIE-LAB | lab(19.99, 39.54, -41.96) |
| CIE-LCH | lch(19.99, 57.66, 313.30°) |
| OKLab | oklab(32.82% 0.0781 -0.1197) |
| OKLCH | oklch(32.82% 0.143 303.1) |
| XYZ | xyz(5.6097, 2.9867, 15.3168) |
| Luminance | 0.0299 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 3.05
Indigo
#4B0082
ΔE00 4.18
Indigo (survey)
#380282
ΔE00 5.28
Dark Indigo
#1F0954
ΔE00 7.40
Midnight Blue
#191970
ΔE00 7.58
Plum Purple
#4E0550
ΔE00 7.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#45166F #406F16
analogous
#18166F #45166F #6F166C
triadic
#45166F #6F4516 #166F45
tetradic
#45166F #6F1816 #406F16 #166C6F
square
#45166F #6F1816 #406F16 #166C6F
split-complementary
#45166F #6C6F16 #166F18
monochromatic
#10051A #250C3C #45166F #6520A2 #842BD5
Accessibility & contrast
On white
13.15
#45166F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#45166F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #45166F
13.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##45166F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##45166F | 1.00 | 13.15 | 1.60 | 13.15 |
| #FFFFFF | 13.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F71
Deuteranopia (green-blind)
#00306D
Tritanopia (blue-blind)
#3C2D42
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #45166f; /* rgb */ color: rgb(69, 22, 111); /* oklch */ color: oklch(32.8% 0.143 303.1);
Tailwind
colors: {
custom: {
50: '#7d5999',
500: '#45166f',
950: '#000000',
},
}SCSS
$custom: #45166f; $custom-light: #7d5999; $custom-dark: #000000;
JSON
{
"hex": "#45166f",
"rgb": {
"r": 69,
"g": 22,
"b": 111
},
"hsl": {
"h": 271.685,
"s": 66.917,
"l": 26.078
},
"oklch": {
"l": 0.32815,
"c": 0.14287,
"h": 303.1
},
"luminance": 0.02987
}Semantic roles & 50–950 ramp
primary
#45166F
secondary
#6DA53C
accent
#EA3E8F
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E