#45106F#45106F
#45106F is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.2% C 0.149 H 303.9°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).
Color values
| HEX | #45106F |
|---|---|
| RGB | rgb(69, 16, 111) |
| HSL | hsl(273, 75%, 25%) |
| HSV | hsv(273, 86%, 44%) |
| CMYK | cmyk(37.8%, 85.6%, 0%, 56.5%) |
| CIE-LAB | lab(19.16, 41.96, -43.33) |
| CIE-LCH | lch(19.16, 60.31, 314.08°) |
| OKLab | oklab(32.23% 0.0832 -0.1236) |
| OKLCH | oklch(32.23% 0.149 303.9) |
| XYZ | xyz(5.5081, 2.7835, 15.2829) |
| Luminance | 0.0278 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 2.18
Indigo
#4B0082
ΔE00 3.58
Indigo (survey)
#380282
ΔE00 4.78
Dark Indigo
#1F0954
ΔE00 7.29
Midnight Blue
#191970
ΔE00 7.81
Plum Purple
#4E0550
ΔE00 7.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#45106F #3A6F10
analogous
#16106F #45106F #6F1069
triadic
#45106F #6F4510 #106F45
tetradic
#45106F #6F1610 #3A6F10 #10696F
square
#45106F #6F1610 #3A6F10 #10696F
split-complementary
#45106F #696F10 #106F16
monochromatic
#11041B #24083A #45106F #6618A4 #881FDA
Accessibility & contrast
On white
13.49
#45106F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#45106F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #45106F
13.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##45106F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##45106F | 1.00 | 13.49 | 1.56 | 13.49 |
| #FFFFFF | 13.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D72
Deuteranopia (green-blind)
#002E6D
Tritanopia (blue-blind)
#3C2A41
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #45106f; /* rgb */ color: rgb(69, 16, 111); /* oklch */ color: oklch(32.2% 0.149 303.9);
Tailwind
colors: {
custom: {
50: '#7e5699',
500: '#45106f',
950: '#000000',
},
}SCSS
$custom: #45106f; $custom-light: #7e5699; $custom-dark: #000000;
JSON
{
"hex": "#45106f",
"rgb": {
"r": 69,
"g": 16,
"b": 111
},
"hsl": {
"h": 273.474,
"s": 74.803,
"l": 24.902
},
"oklch": {
"l": 0.32232,
"c": 0.14902,
"h": 303.9
},
"luminance": 0.02783
}Semantic roles & 50–950 ramp
primary
#45106F
secondary
#67A734
accent
#F13689
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A030E
muted
#7C787E