#45319F#45319F
#45319F is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.8% C 0.169 H 284.4°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).
Color values
| HEX | #45319F |
|---|---|
| RGB | rgb(69, 49, 159) |
| HSL | hsl(251, 53%, 41%) |
| HSV | hsv(251, 69%, 62%) |
| CMYK | cmyk(56.6%, 69.2%, 0%, 37.6%) |
| CIE-LAB | lab(29.32, 39.17, -56.78) |
| CIE-LCH | lch(29.32, 68.98, 304.60°) |
| OKLab | oklab(40.76% 0.0419 -0.1633) |
| OKLCH | oklch(40.76% 0.169 284.4) |
| XYZ | xyz(9.8087, 5.9645, 33.4286) |
| Luminance | 0.0597 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueberry
#464196
ΔE00 5.11
Darkslateblue
#483D8B
ΔE00 5.24
Sapphire (survey)
#2138AB
ΔE00 5.37
Ocean Blue
#4F42B5
ΔE00 5.46
Indigo Blue
#3A18B1
ΔE00 5.51
Rebeccapurple
#663399
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#45319F #8B9F31
analogous
#31549F #45319F #7C319F
triadic
#45319F #9F4531 #319F45
tetradic
#45319F #9F3154 #8B9F31 #319F7C
square
#45319F #9F3154 #8B9F31 #319F7C
split-complementary
#45319F #9F7C31 #549F31
monochromatic
#1C1441 #312370 #45319F #5E47C6 #8776D5
Accessibility & contrast
On white
9.58
#45319F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#45319F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #45319F
9.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##45319F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##45319F | 1.00 | 9.58 | 2.19 | 9.58 |
| #FFFFFF | 9.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048A2
Deuteranopia (green-blind)
#00429D
Tritanopia (blue-blind)
#1A4D64
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #45319f; /* rgb */ color: rgb(69, 49, 159); /* oklch */ color: oklch(40.8% 0.169 284.4);
Tailwind
colors: {
custom: {
50: '#826bbc',
500: '#45319f',
950: '#000000',
},
}SCSS
$custom: #45319f; $custom-light: #826bbc; $custom-dark: #000000;
JSON
{
"hex": "#45319f",
"rgb": {
"r": 69,
"g": 49,
"b": 159
},
"hsl": {
"h": 250.909,
"s": 52.885,
"l": 40.784
},
"oklch": {
"l": 0.40759,
"c": 0.16858,
"h": 284.4
},
"luminance": 0.05965
}Semantic roles & 50–950 ramp
primary
#45319F
secondary
#AFBD6F
accent
#DC4CC2
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0B0712
muted
#7C7A81