#45229B#45229B
#45229B is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.4% C 0.180 H 287.8°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).
Color values
| HEX | #45229B |
|---|---|
| RGB | rgb(69, 34, 155) |
| HSL | hsl(257, 64%, 37%) |
| HSV | hsv(257, 78%, 61%) |
| CMYK | cmyk(55.5%, 78.1%, 0%, 39.2%) |
| CIE-LAB | lab(26.09, 46.00, -59.65) |
| CIE-LCH | lch(26.09, 75.33, 307.63°) |
| OKLab | oklab(38.35% 0.0552 -0.1716) |
| OKLCH | oklch(38.35% 0.18 287.8) |
| XYZ | xyz(8.9409, 4.7754, 31.4546) |
| Luminance | 0.0478 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.58
Ultramarine
#2000B1
ΔE00 5.99
Royal
#0C1793
ΔE00 6.02
Indigo (survey)
#380282
ΔE00 6.19
Indigo
#4B0082
ΔE00 6.20
Cobalt Blue
#030AA7
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#45229B #789B22
analogous
#223C9B #45229B #81229B
triadic
#45229B #9B4522 #229B45
tetradic
#45229B #9B223C #789B22 #229B81
square
#45229B #9B223C #789B22 #229B81
split-complementary
#45229B #9B8122 #3C9B22
monochromatic
#180C37 #2F1769 #45229B #5B2DCD #815CDB
Accessibility & contrast
On white
10.74
#45229B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#45229B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #45229B
10.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##45229B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##45229B | 1.00 | 10.74 | 1.96 | 10.74 |
| #FFFFFF | 10.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00409E
Deuteranopia (green-blind)
#003A99
Tritanopia (blue-blind)
#21445E
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #45229b; /* rgb */ color: rgb(69, 34, 155); /* oklch */ color: oklch(38.4% 0.180 287.8);
Tailwind
colors: {
custom: {
50: '#8362ba',
500: '#45229b',
950: '#000000',
},
}SCSS
$custom: #45229b; $custom-light: #8362ba; $custom-dark: #000000;
JSON
{
"hex": "#45229b",
"rgb": {
"r": 69,
"g": 34,
"b": 155
},
"hsl": {
"h": 257.355,
"s": 64.021,
"l": 37.059
},
"oklch": {
"l": 0.38351,
"c": 0.18029,
"h": 287.8
},
"luminance": 0.04776
}Semantic roles & 50–950 ramp
primary
#45229B
secondary
#A2C059
accent
#E741B7
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0512
muted
#7D7981