#45249E#45249E
#45249E is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.9% C 0.182 H 286.9°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).
Color values
| HEX | #45249E |
|---|---|
| RGB | rgb(69, 36, 158) |
| HSL | hsl(256, 63%, 38%) |
| HSV | hsv(256, 77%, 62%) |
| CMYK | cmyk(56.3%, 77.2%, 0%, 38%) |
| CIE-LAB | lab(26.72, 45.89, -60.44) |
| CIE-LCH | lch(26.72, 75.88, 307.21°) |
| OKLab | oklab(38.89% 0.0528 -0.1739) |
| OKLCH | oklch(38.89% 0.182 286.9) |
| XYZ | xyz(9.2548, 4.9951, 32.8176) |
| Luminance | 0.0500 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.41
Ultramarine
#2000B1
ΔE00 6.07
Violet Blue
#510AC9
ΔE00 6.16
Royal
#0C1793
ΔE00 6.22
Cobalt Blue
#030AA7
ΔE00 6.44
Royal Blue (survey)
#0504AA
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#45249E #7D9E24
analogous
#24409E #45249E #82249E
triadic
#45249E #9E4524 #249E45
tetradic
#45249E #9E2440 #7D9E24 #249E82
square
#45249E #9E2440 #7D9E24 #249E82
split-complementary
#45249E #9E8224 #409E24
monochromatic
#190D3A #2F196C #45249E #5B2FD0 #8261DB
Accessibility & contrast
On white
10.50
#45249E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#45249E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #45249E
10.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##45249E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##45249E | 1.00 | 10.50 | 2.00 | 10.50 |
| #FFFFFF | 10.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0042A1
Deuteranopia (green-blind)
#003C9C
Tritanopia (blue-blind)
#1D4760
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #45249e; /* rgb */ color: rgb(69, 36, 158); /* oklch */ color: oklch(38.9% 0.182 286.9);
Tailwind
colors: {
custom: {
50: '#8363bc',
500: '#45249e',
950: '#000000',
},
}SCSS
$custom: #45249e; $custom-light: #8363bc; $custom-dark: #000000;
JSON
{
"hex": "#45249e",
"rgb": {
"r": 69,
"g": 36,
"b": 158
},
"hsl": {
"h": 256.23,
"s": 62.887,
"l": 38.039
},
"oklch": {
"l": 0.38885,
"c": 0.1818,
"h": 286.9
},
"luminance": 0.04996
}Semantic roles & 50–950 ramp
primary
#45249E
secondary
#A6C05E
accent
#E642BA
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81