#45219F#45219F
#45219F is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.6% C 0.186 H 287.1°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).
Color values
| HEX | #45219F |
|---|---|
| RGB | rgb(69, 33, 159) |
| HSL | hsl(257, 66%, 38%) |
| HSV | hsv(257, 79%, 62%) |
| CMYK | cmyk(56.6%, 79.2%, 0%, 37.6%) |
| CIE-LAB | lab(26.32, 47.61, -61.71) |
| CIE-LCH | lch(26.32, 77.94, 307.65°) |
| OKLab | oklab(38.64% 0.0547 -0.1776) |
| OKLCH | oklch(38.64% 0.186 287.1) |
| XYZ | xyz(9.2542, 4.8556, 33.2438) |
| Luminance | 0.0486 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.02
Ultramarine
#2000B1
ΔE00 5.61
Violet Blue
#510AC9
ΔE00 5.86
Royal
#0C1793
ΔE00 6.06
Cobalt Blue
#030AA7
ΔE00 6.07
Royal Blue (survey)
#0504AA
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#45219F #7B9F21
analogous
#213C9F #45219F #84219F
triadic
#45219F #9F4521 #219F45
tetradic
#45219F #9F213C #7B9F21 #219F84
square
#45219F #9F213C #7B9F21 #219F84
split-complementary
#45219F #9F8421 #3C9F21
monochromatic
#190C3A #2F166C #45219F #5B2CD2 #825DDD
Accessibility & contrast
On white
10.65
#45219F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#45219F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #45219F
10.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##45219F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##45219F | 1.00 | 10.65 | 1.97 | 10.65 |
| #FFFFFF | 10.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0041A2
Deuteranopia (green-blind)
#003B9D
Tritanopia (blue-blind)
#1C4660
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #45219f; /* rgb */ color: rgb(69, 33, 159); /* oklch */ color: oklch(38.6% 0.186 287.1);
Tailwind
colors: {
custom: {
50: '#8361bd',
500: '#45219f',
950: '#000000',
},
}SCSS
$custom: #45219f; $custom-light: #8361bd; $custom-dark: #000000;
JSON
{
"hex": "#45219f",
"rgb": {
"r": 69,
"g": 33,
"b": 159
},
"hsl": {
"h": 257.143,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.38635,
"c": 0.18587,
"h": 287.1
},
"luminance": 0.04856
}Semantic roles & 50–950 ramp
primary
#45219F
secondary
#A4C25A
accent
#E93FB8
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0C0512
muted
#7D7981