#45319E#45319E
#45319E is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.7% C 0.167 H 284.6°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).
Color values
| HEX | #45319E |
|---|---|
| RGB | rgb(69, 49, 158) |
| HSL | hsl(251, 53%, 41%) |
| HSV | hsv(251, 69%, 62%) |
| CMYK | cmyk(56.3%, 69%, 0%, 38%) |
| CIE-LAB | lab(29.23, 38.86, -56.32) |
| CIE-LCH | lch(29.23, 68.42, 304.61°) |
| OKLab | oklab(40.67% 0.042 -0.1619) |
| OKLCH | oklch(40.67% 0.167 284.6) |
| XYZ | xyz(9.7222, 5.9299, 32.9734) |
| Luminance | 0.0593 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueberry
#464196
ΔE00 5.06
Darkslateblue
#483D8B
ΔE00 5.14
Sapphire (survey)
#2138AB
ΔE00 5.42
Ocean Blue
#4F42B5
ΔE00 5.55
Indigo Blue
#3A18B1
ΔE00 5.59
Rebeccapurple
#663399
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#45319E #8A9E31
analogous
#31539E #45319E #7B319E
triadic
#45319E #9E4531 #319E45
tetradic
#45319E #9E3153 #8A9E31 #319E7B
square
#45319E #9E3153 #8A9E31 #319E7B
split-complementary
#45319E #9E7B31 #539E31
monochromatic
#1C1441 #31236F #45319E #5E46C6 #8775D4
Accessibility & contrast
On white
9.61
#45319E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#45319E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #45319E
9.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##45319E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##45319E | 1.00 | 9.61 | 2.19 | 9.61 |
| #FFFFFF | 9.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048A1
Deuteranopia (green-blind)
#00419C
Tritanopia (blue-blind)
#1B4D63
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #45319e; /* rgb */ color: rgb(69, 49, 158); /* oklch */ color: oklch(40.7% 0.167 284.6);
Tailwind
colors: {
custom: {
50: '#826bbc',
500: '#45319e',
950: '#000000',
},
}SCSS
$custom: #45319e; $custom-light: #826bbc; $custom-dark: #000000;
JSON
{
"hex": "#45319e",
"rgb": {
"r": 69,
"g": 49,
"b": 158
},
"hsl": {
"h": 251.009,
"s": 52.657,
"l": 40.588
},
"oklch": {
"l": 0.40669,
"c": 0.16731,
"h": 284.6
},
"luminance": 0.0593
}Semantic roles & 50–950 ramp
primary
#45319E
secondary
#AEBC6E
accent
#DC4CC2
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0712
muted
#7C7A81