#452C95#452C95
#452C95 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.1% C 0.162 H 287.3°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).
Color values
| HEX | #452C95 |
|---|---|
| RGB | rgb(69, 44, 149) |
| HSL | hsl(254, 54%, 38%) |
| HSV | hsv(254, 70%, 58%) |
| CMYK | cmyk(53.7%, 70.5%, 0%, 41.6%) |
| CIE-LAB | lab(27.40, 38.95, -53.82) |
| CIE-LCH | lch(27.40, 66.44, 305.89°) |
| OKLab | oklab(39.11% 0.0482 -0.1546) |
| OKLCH | oklch(39.11% 0.162 287.3) |
| XYZ | xyz(8.7781, 5.2361, 28.9761) |
| Luminance | 0.0524 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.45
Indigo Blue
#3A18B1
ΔE00 5.54
Blueberry
#464196
ΔE00 6.08
Rebeccapurple
#663399
ΔE00 6.24
Sapphire (survey)
#2138AB
ΔE00 6.77
Royal
#0C1793
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#452C95 #7C952C
analogous
#2C4795 #452C95 #792C95
triadic
#452C95 #95452C #2C9545
tetradic
#452C95 #952C47 #7C952C #2C9579
square
#452C95 #952C47 #7C952C #2C9579
split-complementary
#452C95 #95792C #47952C
monochromatic
#191037 #2F1E66 #452C95 #5B3AC4 #8269D3
Accessibility & contrast
On white
10.26
#452C95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#452C95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #452C95
10.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##452C95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##452C95 | 1.00 | 10.26 | 2.05 | 10.26 |
| #FFFFFF | 10.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004398
Deuteranopia (green-blind)
#003E93
Tritanopia (blue-blind)
#26475D
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #452c95; /* rgb */ color: rgb(69, 44, 149); /* oklch */ color: oklch(39.1% 0.162 287.3);
Tailwind
colors: {
custom: {
50: '#8167b5',
500: '#452c95',
950: '#000000',
},
}SCSS
$custom: #452c95; $custom-light: #8167b5; $custom-dark: #000000;
JSON
{
"hex": "#452c95",
"rgb": {
"r": 69,
"g": 44,
"b": 149
},
"hsl": {
"h": 254.286,
"s": 54.404,
"l": 37.843
},
"oklch": {
"l": 0.39107,
"c": 0.16195,
"h": 287.3
},
"luminance": 0.05236
}Semantic roles & 50–950 ramp
primary
#452C95
secondary
#A5B964
accent
#DE4ABB
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80