#452F7C#452F7C
#452F7C is a dark, vivid violet. Relative luminance 0.048; OKLCH L 37.5% C 0.125 H 292.5°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).
Color values
| HEX | #452F7C |
|---|---|
| RGB | rgb(69, 47, 124) |
| HSL | hsl(257, 45%, 34%) |
| HSV | hsv(257, 62%, 49%) |
| CMYK | cmyk(44.4%, 62.1%, 0%, 51.4%) |
| CIE-LAB | lab(26.02, 29.53, -40.49) |
| CIE-LCH | lch(26.02, 50.12, 306.11°) |
| OKLab | oklab(37.47% 0.0478 -0.1154) |
| OKLCH | oklch(37.47% 0.125 292.5) |
| XYZ | xyz(7.1079, 4.7533, 19.6078) |
| Luminance | 0.0475 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.51
Blueberry
#464196
ΔE00 6.59
Rebeccapurple
#663399
ΔE00 7.27
Midnight Blue
#191970
ΔE00 8.07
Indigo
#4B0082
ΔE00 8.56
Indigo (survey)
#380282
ΔE00 8.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#452F7C #667C2F
analogous
#2F3F7C #452F7C #6B2F7C
triadic
#452F7C #7C452F #2F7C45
tetradic
#452F7C #7C2F3F #667C2F #2F7C6B
square
#452F7C #7C2F3F #667C2F #2F7C6B
split-complementary
#452F7C #7C6B2F #3F7C2F
monochromatic
#140D23 #2C1E50 #452F7C #5E40A8 #7E62C3
Accessibility & contrast
On white
10.77
#452F7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#452F7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #452F7C
10.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##452F7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##452F7C | 1.00 | 10.77 | 1.95 | 10.77 |
| #FFFFFF | 10.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F7F
Deuteranopia (green-blind)
#013C7A
Tritanopia (blue-blind)
#364050
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #452f7c; /* rgb */ color: rgb(69, 47, 124); /* oklch */ color: oklch(37.5% 0.125 292.5);
Tailwind
colors: {
custom: {
50: '#7d68a2',
500: '#452f7c',
950: '#000000',
},
}SCSS
$custom: #452f7c; $custom-light: #7d68a2; $custom-dark: #000000;
JSON
{
"hex": "#452f7c",
"rgb": {
"r": 69,
"g": 47,
"b": 124
},
"hsl": {
"h": 257.143,
"s": 45.029,
"l": 33.529
},
"oklch": {
"l": 0.37473,
"c": 0.12494,
"h": 292.5
},
"luminance": 0.04753
}Semantic roles & 50–950 ramp
primary
#452F7C
secondary
#94AA5C
accent
#D553B0
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A060F
muted
#7C7A7F