#452FA1#452FA1
#452FA1 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.6% C 0.173 H 284.4°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).
Color values
| HEX | #452FA1 |
|---|---|
| RGB | rgb(69, 47, 161) |
| HSL | hsl(252, 55%, 41%) |
| HSV | hsv(252, 71%, 63%) |
| CMYK | cmyk(57.1%, 70.8%, 0%, 36.9%) |
| CIE-LAB | lab(29.08, 40.94, -58.38) |
| CIE-LCH | lch(29.08, 71.31, 305.04°) |
| OKLab | oklab(40.64% 0.0433 -0.168) |
| OKLCH | oklch(40.64% 0.173 284.4) |
| XYZ | xyz(9.9018, 5.8709, 34.3227) |
| Luminance | 0.0587 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.93
Sapphire (survey)
#2138AB
ΔE00 5.54
Blueberry
#464196
ΔE00 5.69
Ocean Blue
#4F42B5
ΔE00 5.69
Darkslateblue
#483D8B
ΔE00 5.82
Blue With A Hint Of Purple
#533CC6
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#452FA1 #8BA12F
analogous
#2F52A1 #452FA1 #7E2FA1
triadic
#452FA1 #A1452F #2FA145
tetradic
#452FA1 #A12F52 #8BA12F #2FA17E
square
#452FA1 #A12F52 #8BA12F #2FA17E
split-complementary
#452FA1 #A17E2F #52A12F
monochromatic
#1C1342 #312172 #452FA1 #5E45C9 #8774D6
Accessibility & contrast
On white
9.66
#452FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#452FA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #452FA1
9.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##452FA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##452FA1 | 1.00 | 9.66 | 2.17 | 9.66 |
| #FFFFFF | 9.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048A4
Deuteranopia (green-blind)
#00419F
Tritanopia (blue-blind)
#174D64
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #452fa1; /* rgb */ color: rgb(69, 47, 161); /* oklch */ color: oklch(40.6% 0.173 284.4);
Tailwind
colors: {
custom: {
50: '#836abe',
500: '#452fa1',
950: '#000000',
},
}SCSS
$custom: #452fa1; $custom-light: #836abe; $custom-dark: #000000;
JSON
{
"hex": "#452fa1",
"rgb": {
"r": 69,
"g": 47,
"b": 161
},
"hsl": {
"h": 251.579,
"s": 54.808,
"l": 40.784
},
"oklch": {
"l": 0.40643,
"c": 0.17349,
"h": 284.4
},
"luminance": 0.05871
}Semantic roles & 50–950 ramp
primary
#452FA1
secondary
#AFBE6E
accent
#DE4AC1
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81