#45116C#45116C
#45116C is a dark, vivid violet. Relative luminance 0.027; OKLCH L 32.0% C 0.145 H 305.1°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).
Color values
| HEX | #45116C |
|---|---|
| RGB | rgb(69, 17, 108) |
| HSL | hsl(274, 73%, 25%) |
| HSV | hsv(274, 84%, 42%) |
| CMYK | cmyk(36.1%, 84.3%, 0%, 57.6%) |
| CIE-LAB | lab(19.01, 40.85, -41.62) |
| CIE-LCH | lch(19.01, 58.32, 314.47°) |
| OKLab | oklab(32.05% 0.0833 -0.1186) |
| OKLCH | oklch(32.05% 0.145 305.1) |
| XYZ | xyz(5.3609, 2.7488, 14.4326) |
| Luminance | 0.0275 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 2.27
Indigo
#4B0082
ΔE00 4.15
Indigo (survey)
#380282
ΔE00 5.35
Dark Indigo
#1F0954
ΔE00 7.17
Plum Purple
#4E0550
ΔE00 7.33
Midnight Blue
#191970
ΔE00 8.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#45116C #386C11
analogous
#18116C #45116C #6C1166
triadic
#45116C #6C4511 #116C45
tetradic
#45116C #6C1811 #386C11 #11666C
square
#45116C #6C1811 #386C11 #11666C
split-complementary
#45116C #666C11 #116C18
monochromatic
#11041A #230937 #45116C #6719A1 #8922D6
Accessibility & contrast
On white
13.55
#45116C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#45116C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #45116C
13.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##45116C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##45116C | 1.00 | 13.55 | 1.55 | 13.55 |
| #FFFFFF | 13.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D6E
Deuteranopia (green-blind)
#002E6A
Tritanopia (blue-blind)
#3E2A3F
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #45116c; /* rgb */ color: rgb(69, 17, 108); /* oklch */ color: oklch(32.0% 0.145 305.1);
Tailwind
colors: {
custom: {
50: '#7d5797',
500: '#45116c',
950: '#000000',
},
}SCSS
$custom: #45116c; $custom-light: #7d5797; $custom-dark: #000000;
JSON
{
"hex": "#45116c",
"rgb": {
"r": 69,
"g": 17,
"b": 108
},
"hsl": {
"h": 274.286,
"s": 72.8,
"l": 24.51
},
"oklch": {
"l": 0.32045,
"c": 0.14496,
"h": 305.1
},
"luminance": 0.02749
}Semantic roles & 50–950 ramp
primary
#45116C
secondary
#65A435
accent
#EF3887
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030D
muted
#7C787E