#45196C#45196C
#45196C is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.9% C 0.136 H 303.9°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).
Color values
| HEX | #45196C |
|---|---|
| RGB | rgb(69, 25, 108) |
| HSL | hsl(272, 62%, 26%) |
| HSV | hsv(272, 77%, 42%) |
| CMYK | cmyk(36.1%, 76.9%, 0%, 57.6%) |
| CIE-LAB | lab(20.22, 37.38, -39.65) |
| CIE-LCH | lch(20.22, 54.49, 313.32°) |
| OKLab | oklab(32.89% 0.0758 -0.1129) |
| OKLCH | oklch(32.89% 0.136 303.9) |
| XYZ | xyz(5.5080, 3.0432, 14.4817) |
| Luminance | 0.0304 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 3.63
Indigo
#4B0082
ΔE00 5.05
Indigo (survey)
#380282
ΔE00 6.13
Dark Indigo
#1F0954
ΔE00 7.41
Plum Purple
#4E0550
ΔE00 7.61
Midnight Blue
#191970
ΔE00 7.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#45196C #406C19
analogous
#1B196C #45196C #6C1969
triadic
#45196C #6C4519 #196C45
tetradic
#45196C #6C1B19 #406C19 #19696C
square
#45196C #6C1B19 #406C19 #19696C
split-complementary
#45196C #696C19 #196C1B
monochromatic
#100619 #250D3A #45196C #65259E #8430CF
Accessibility & contrast
On white
13.05
#45196C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#45196C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #45196C
13.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##45196C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##45196C | 1.00 | 13.05 | 1.61 | 13.05 |
| #FFFFFF | 13.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00306E
Deuteranopia (green-blind)
#00316A
Tritanopia (blue-blind)
#3D2D41
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #45196c; /* rgb */ color: rgb(69, 25, 108); /* oklch */ color: oklch(32.9% 0.136 303.9);
Tailwind
colors: {
custom: {
50: '#7d5a97',
500: '#45196c',
950: '#000000',
},
}SCSS
$custom: #45196c; $custom-light: #7d5a97; $custom-dark: #000000;
JSON
{
"hex": "#45196c",
"rgb": {
"r": 69,
"g": 25,
"b": 108
},
"hsl": {
"h": 271.807,
"s": 62.406,
"l": 26.078
},
"oklch": {
"l": 0.32893,
"c": 0.13596,
"h": 303.9
},
"luminance": 0.03043
}Semantic roles & 50–950 ramp
primary
#45196C
secondary
#6DA13F
accent
#E5428F
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040D
muted
#7C797E