#45299E#45299E
#45299E is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.5% C 0.177 H 286.1°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).
Color values
| HEX | #45299E |
|---|---|
| RGB | rgb(69, 41, 158) |
| HSL | hsl(254, 59%, 39%) |
| HSV | hsv(254, 74%, 62%) |
| CMYK | cmyk(56.3%, 74.1%, 0%, 38%) |
| CIE-LAB | lab(27.63, 43.32, -58.95) |
| CIE-LCH | lch(27.63, 73.16, 306.31°) |
| OKLab | oklab(39.52% 0.049 -0.1696) |
| OKLCH | oklch(39.52% 0.177 286.1) |
| XYZ | xyz(9.4169, 5.3192, 32.8716) |
| Luminance | 0.0532 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.07
Rebeccapurple
#663399
ΔE00 6.55
Sapphire (survey)
#2138AB
ΔE00 6.60
Violet Blue
#510AC9
ΔE00 6.60
Royal
#0C1793
ΔE00 6.67
Darkslateblue
#483D8B
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#45299E #829E29
analogous
#29489E #45299E #80299E
triadic
#45299E #9E4529 #299E45
tetradic
#45299E #9E2948 #829E29 #299E80
square
#45299E #9E2948 #829E29 #299E80
split-complementary
#45299E #9E8029 #489E29
monochromatic
#1B103D #301C6D #45299E #5C39CC #8469D8
Accessibility & contrast
On white
10.17
#45299E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#45299E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #45299E
10.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##45299E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##45299E | 1.00 | 10.17 | 2.06 | 10.17 |
| #FFFFFF | 10.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#003E9C
Tritanopia (blue-blind)
#1C4961
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #45299e; /* rgb */ color: rgb(69, 41, 158); /* oklch */ color: oklch(39.5% 0.177 286.1);
Tailwind
colors: {
custom: {
50: '#8366bc',
500: '#45299e',
950: '#000000',
},
}SCSS
$custom: #45299e; $custom-light: #8366bc; $custom-dark: #000000;
JSON
{
"hex": "#45299e",
"rgb": {
"r": 69,
"g": 41,
"b": 158
},
"hsl": {
"h": 254.359,
"s": 58.794,
"l": 39.02
},
"oklch": {
"l": 0.39522,
"c": 0.17656,
"h": 286.1
},
"luminance": 0.0532
}Semantic roles & 50–950 ramp
primary
#45299E
secondary
#A9BF64
accent
#E246BD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81