#45136F#45136F
#45136F is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.5% C 0.146 H 303.6°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).
Color values
| HEX | #45136F |
|---|---|
| RGB | rgb(69, 19, 111) |
| HSL | hsl(273, 71%, 25%) |
| HSV | hsv(273, 83%, 44%) |
| CMYK | cmyk(37.8%, 82.9%, 0%, 56.5%) |
| CIE-LAB | lab(19.55, 40.81, -42.68) |
| CIE-LCH | lch(19.55, 59.05, 313.71°) |
| OKLab | oklab(32.51% 0.0808 -0.1217) |
| OKLCH | oklch(32.51% 0.146 303.6) |
| XYZ | xyz(5.5557, 2.8787, 15.2988) |
| Luminance | 0.0288 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 2.58
Indigo
#4B0082
ΔE00 3.84
Indigo (survey)
#380282
ΔE00 5.00
Dark Indigo
#1F0954
ΔE00 7.33
Midnight Blue
#191970
ΔE00 7.68
Plum Purple
#4E0550
ΔE00 7.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#45136F #3D6F13
analogous
#17136F #45136F #6F136B
triadic
#45136F #6F4513 #136F45
tetradic
#45136F #6F1713 #3D6F13 #136B6F
square
#45136F #6F1713 #3D6F13 #136B6F
split-complementary
#45136F #6B6F13 #136F17
monochromatic
#10041A #250A3B #45136F #651CA3 #8625D8
Accessibility & contrast
On white
13.33
#45136F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#45136F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #45136F
13.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##45136F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##45136F | 1.00 | 13.33 | 1.58 | 13.33 |
| #FFFFFF | 13.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E71
Deuteranopia (green-blind)
#002F6D
Tritanopia (blue-blind)
#3C2C41
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #45136f; /* rgb */ color: rgb(69, 19, 111); /* oklch */ color: oklch(32.5% 0.146 303.6);
Tailwind
colors: {
custom: {
50: '#7e5899',
500: '#45136f',
950: '#000000',
},
}SCSS
$custom: #45136f; $custom-light: #7e5899; $custom-dark: #000000;
JSON
{
"hex": "#45136f",
"rgb": {
"r": 69,
"g": 19,
"b": 111
},
"hsl": {
"h": 272.609,
"s": 70.769,
"l": 25.49
},
"oklch": {
"l": 0.32508,
"c": 0.1461,
"h": 303.6
},
"luminance": 0.02879
}Semantic roles & 50–950 ramp
primary
#45136F
secondary
#6AA638
accent
#EE3A8C
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A030E
muted
#7C787E