#45249C#45249C
#45249C is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.7% C 0.179 H 287.3°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).
Color values
| HEX | #45249C |
|---|---|
| RGB | rgb(69, 36, 156) |
| HSL | hsl(257, 63%, 38%) |
| HSV | hsv(257, 77%, 61%) |
| CMYK | cmyk(55.8%, 76.9%, 0%, 38.8%) |
| CIE-LAB | lab(26.53, 45.31, -59.54) |
| CIE-LCH | lch(26.53, 74.82, 307.27°) |
| OKLab | oklab(38.69% 0.0534 -0.1713) |
| OKLCH | oklch(38.69% 0.179 287.3) |
| XYZ | xyz(9.0841, 4.9268, 31.9183) |
| Luminance | 0.0493 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.64
Royal
#0C1793
ΔE00 6.17
Ultramarine
#2000B1
ΔE00 6.20
Violet Blue
#510AC9
ΔE00 6.42
Cobalt Blue
#030AA7
ΔE00 6.51
Indigo (survey)
#380282
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#45249C #7B9C24
analogous
#243F9C #45249C #81249C
triadic
#45249C #9C4524 #249C45
tetradic
#45249C #9C243F #7B9C24 #249C81
square
#45249C #9C243F #7B9C24 #249C81
split-complementary
#45249C #9C8124 #3F9C24
monochromatic
#190D39 #2F196A #45249C #5B2FCE #8260DA
Accessibility & contrast
On white
10.58
#45249C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#45249C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #45249C
10.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##45249C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##45249C | 1.00 | 10.58 | 1.99 | 10.58 |
| #FFFFFF | 10.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00429F
Deuteranopia (green-blind)
#003B9A
Tritanopia (blue-blind)
#1F465F
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #45249c; /* rgb */ color: rgb(69, 36, 156); /* oklch */ color: oklch(38.7% 0.179 287.3);
Tailwind
colors: {
custom: {
50: '#8363ba',
500: '#45249c',
950: '#000000',
},
}SCSS
$custom: #45249c; $custom-light: #8363ba; $custom-dark: #000000;
JSON
{
"hex": "#45249c",
"rgb": {
"r": 69,
"g": 36,
"b": 156
},
"hsl": {
"h": 256.5,
"s": 62.5,
"l": 37.647
},
"oklch": {
"l": 0.38689,
"c": 0.17945,
"h": 287.3
},
"luminance": 0.04927
}Semantic roles & 50–950 ramp
primary
#45249C
secondary
#A4BF5C
accent
#E642B9
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81