#45229C#45229C
#45229C is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.5% C 0.181 H 287.6°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).
Color values
| HEX | #45229C |
|---|---|
| RGB | rgb(69, 34, 156) |
| HSL | hsl(257, 64%, 37%) |
| HSV | hsv(257, 78%, 61%) |
| CMYK | cmyk(55.8%, 78.2%, 0%, 38.8%) |
| CIE-LAB | lab(26.18, 46.28, -60.10) |
| CIE-LCH | lch(26.18, 75.86, 307.60°) |
| OKLab | oklab(38.45% 0.0549 -0.1729) |
| OKLCH | oklch(38.45% 0.181 287.6) |
| XYZ | xyz(9.0252, 4.8091, 31.8987) |
| Luminance | 0.0481 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.46
Ultramarine
#2000B1
ΔE00 5.92
Royal
#0C1793
ΔE00 6.04
Indigo (survey)
#380282
ΔE00 6.27
Cobalt Blue
#030AA7
ΔE00 6.28
Indigo
#4B0082
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#45229C #799C22
analogous
#223C9C #45229C #82229C
triadic
#45229C #9C4522 #229C45
tetradic
#45229C #9C223C #799C22 #229C82
square
#45229C #9C223C #799C22 #229C82
split-complementary
#45229C #9C8222 #3C9C22
monochromatic
#190C38 #2F176A #45229C #5B2DCE #815DDC
Accessibility & contrast
On white
10.70
#45229C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#45229C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #45229C
10.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##45229C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##45229C | 1.00 | 10.70 | 1.96 | 10.70 |
| #FFFFFF | 10.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00419F
Deuteranopia (green-blind)
#003B9A
Tritanopia (blue-blind)
#1F455E
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #45229c; /* rgb */ color: rgb(69, 34, 156); /* oklch */ color: oklch(38.5% 0.181 287.6);
Tailwind
colors: {
custom: {
50: '#8362ba',
500: '#45229c',
950: '#000000',
},
}SCSS
$custom: #45229c; $custom-light: #8362ba; $custom-dark: #000000;
JSON
{
"hex": "#45229c",
"rgb": {
"r": 69,
"g": 34,
"b": 156
},
"hsl": {
"h": 257.213,
"s": 64.211,
"l": 37.255
},
"oklch": {
"l": 0.3845,
"c": 0.18145,
"h": 287.6
},
"luminance": 0.0481
}Semantic roles & 50–950 ramp
primary
#45229C
secondary
#A3C05A
accent
#E741B7
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81