#45106E#45106E
#45106E is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.1% C 0.148 H 304.4°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).
Color values
| HEX | #45106E |
|---|---|
| RGB | rgb(69, 16, 110) |
| HSL | hsl(274, 75%, 25%) |
| HSV | hsv(274, 85%, 43%) |
| CMYK | cmyk(37.3%, 85.5%, 0%, 56.9%) |
| CIE-LAB | lab(19.06, 41.71, -42.83) |
| CIE-LCH | lch(19.06, 59.79, 314.25°) |
| OKLab | oklab(32.14% 0.0835 -0.1222) |
| OKLCH | oklch(32.14% 0.148 304.4) |
| XYZ | xyz(5.4534, 2.7616, 14.9946) |
| Luminance | 0.0276 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 2.15
Indigo
#4B0082
ΔE00 3.74
Indigo (survey)
#380282
ΔE00 4.94
Dark Indigo
#1F0954
ΔE00 7.24
Plum Purple
#4E0550
ΔE00 7.67
Midnight Blue
#191970
ΔE00 7.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#45106E #396E10
analogous
#16106E #45106E #6E1068
triadic
#45106E #6E4510 #106E45
tetradic
#45106E #6E1610 #396E10 #10686E
square
#45106E #6E1610 #396E10 #10686E
split-complementary
#45106E #686E10 #106E16
monochromatic
#11041B #230839 #45106E #6718A3 #8820D9
Accessibility & contrast
On white
13.53
#45106E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#45106E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #45106E
13.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##45106E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##45106E | 1.00 | 13.53 | 1.55 | 13.53 |
| #FFFFFF | 13.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D70
Deuteranopia (green-blind)
#002E6C
Tritanopia (blue-blind)
#3D2A40
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #45106e; /* rgb */ color: rgb(69, 16, 110); /* oklch */ color: oklch(32.1% 0.148 304.4);
Tailwind
colors: {
custom: {
50: '#7e5698',
500: '#45106e',
950: '#000000',
},
}SCSS
$custom: #45106e; $custom-light: #7e5698; $custom-dark: #000000;
JSON
{
"hex": "#45106e",
"rgb": {
"r": 69,
"g": 16,
"b": 110
},
"hsl": {
"h": 273.83,
"s": 74.603,
"l": 24.706
},
"oklch": {
"l": 0.32139,
"c": 0.14799,
"h": 304.4
},
"luminance": 0.02762
}Semantic roles & 50–950 ramp
primary
#45106E
secondary
#66A634
accent
#F13788
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A030E
muted
#7C787E