#452F9C#452F9C
#452F9C is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.2% C 0.167 H 285.3°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).
Color values
| HEX | #452F9C |
|---|---|
| RGB | rgb(69, 47, 156) |
| HSL | hsl(252, 54%, 40%) |
| HSV | hsv(252, 70%, 61%) |
| CMYK | cmyk(55.8%, 69.9%, 0%, 38.8%) |
| CIE-LAB | lab(28.64, 39.39, -56.08) |
| CIE-LCH | lch(28.64, 68.53, 305.09°) |
| OKLab | oklab(40.19% 0.0442 -0.1612) |
| OKLCH | oklch(40.19% 0.167 285.3) |
| XYZ | xyz(9.4697, 5.6980, 32.0469) |
| Luminance | 0.0570 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.34
Indigo Blue
#3A18B1
ΔE00 5.34
Blueberry
#464196
ΔE00 5.48
Sapphire (survey)
#2138AB
ΔE00 5.82
Ocean Blue
#4F42B5
ΔE00 6.09
Rebeccapurple
#663399
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#452F9C #869C2F
analogous
#2F509C #452F9C #7C2F9C
triadic
#452F9C #9C452F #2F9C45
tetradic
#452F9C #9C2F50 #869C2F #2F9C7C
square
#452F9C #9C2F50 #869C2F #2F9C7C
split-complementary
#452F9C #9C7C2F #509C2F
monochromatic
#1B133E #30216D #452F9C #5D42C6 #8571D4
Accessibility & contrast
On white
9.81
#452F9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#452F9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #452F9C
9.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##452F9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##452F9C | 1.00 | 9.81 | 2.14 | 9.81 |
| #FFFFFF | 9.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00479F
Deuteranopia (green-blind)
#00409A
Tritanopia (blue-blind)
#1E4B62
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #452f9c; /* rgb */ color: rgb(69, 47, 156); /* oklch */ color: oklch(40.2% 0.167 285.3);
Tailwind
colors: {
custom: {
50: '#8269ba',
500: '#452f9c',
950: '#000000',
},
}SCSS
$custom: #452f9c; $custom-light: #8269ba; $custom-dark: #000000;
JSON
{
"hex": "#452f9c",
"rgb": {
"r": 69,
"g": 47,
"b": 156
},
"hsl": {
"h": 252.11,
"s": 53.695,
"l": 39.804
},
"oklch": {
"l": 0.40186,
"c": 0.16719,
"h": 285.3
},
"luminance": 0.05699
}Semantic roles & 50–950 ramp
primary
#452F9C
secondary
#ACBC6B
accent
#DD4BC0
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0612
muted
#7C7A81