#45249B#45249B
#45249B is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.6% C 0.178 H 287.5°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).
Color values
| HEX | #45249B |
|---|---|
| RGB | rgb(69, 36, 155) |
| HSL | hsl(257, 62%, 37%) |
| HSV | hsv(257, 77%, 61%) |
| CMYK | cmyk(55.5%, 76.8%, 0%, 39.2%) |
| CIE-LAB | lab(26.43, 45.02, -59.09) |
| CIE-LCH | lch(26.43, 74.28, 307.30°) |
| OKLab | oklab(38.59% 0.0537 -0.17) |
| OKLCH | oklch(38.59% 0.178 287.5) |
| XYZ | xyz(8.9998, 4.8930, 31.4742) |
| Luminance | 0.0489 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.76
Royal
#0C1793
ΔE00 6.16
Ultramarine
#2000B1
ΔE00 6.27
Indigo (survey)
#380282
ΔE00 6.51
Indigo
#4B0082
ΔE00 6.51
Violet Blue
#510AC9
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#45249B #7A9B24
analogous
#243E9B #45249B #81249B
triadic
#45249B #9B4524 #249B45
tetradic
#45249B #9B243E #7A9B24 #249B81
square
#45249B #9B243E #7A9B24 #249B81
split-complementary
#45249B #9B8124 #3E9B24
monochromatic
#190D38 #2F1869 #45249B #5B30CD #815FDA
Accessibility & contrast
On white
10.61
#45249B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#45249B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #45249B
10.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##45249B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##45249B | 1.00 | 10.61 | 1.98 | 10.61 |
| #FFFFFF | 10.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00419E
Deuteranopia (green-blind)
#003B99
Tritanopia (blue-blind)
#20455E
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #45249b; /* rgb */ color: rgb(69, 36, 155); /* oklch */ color: oklch(38.6% 0.178 287.5);
Tailwind
colors: {
custom: {
50: '#8363ba',
500: '#45249b',
950: '#000000',
},
}SCSS
$custom: #45249b; $custom-light: #8363ba; $custom-dark: #000000;
JSON
{
"hex": "#45249b",
"rgb": {
"r": 69,
"g": 36,
"b": 155
},
"hsl": {
"h": 256.639,
"s": 62.304,
"l": 37.451
},
"oklch": {
"l": 0.38591,
"c": 0.17827,
"h": 287.5
},
"luminance": 0.04894
}Semantic roles & 50–950 ramp
primary
#45249B
secondary
#A3BF5C
accent
#E542B8
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81