#452E7B#452E7B
#452E7B is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.2% C 0.125 H 293.1°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).
Color values
| HEX | #452E7B |
|---|---|
| RGB | rgb(69, 46, 123) |
| HSL | hsl(258, 46%, 33%) |
| HSV | hsv(258, 63%, 48%) |
| CMYK | cmyk(43.9%, 62.6%, 0%, 51.8%) |
| CIE-LAB | lab(25.71, 29.85, -40.36) |
| CIE-LCH | lch(25.71, 50.20, 306.49°) |
| OKLab | oklab(37.22% 0.0491 -0.115) |
| OKLCH | oklch(37.22% 0.125 293.1) |
| XYZ | xyz(7.0054, 4.6491, 19.2633) |
| Luminance | 0.0465 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.83
Blueberry
#464196
ΔE00 6.90
Rebeccapurple
#663399
ΔE00 7.33
Midnight Blue
#191970
ΔE00 7.95
Indigo
#4B0082
ΔE00 8.33
Indigo (survey)
#380282
ΔE00 8.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#452E7B #647B2E
analogous
#2E3D7B #452E7B #6B2E7B
triadic
#452E7B #7B452E #2E7B45
tetradic
#452E7B #7B2E3D #647B2E #2E7B6B
square
#452E7B #7B2E3D #647B2E #2E7B6B
split-complementary
#452E7B #7B6B2E #3D7B2E
monochromatic
#130D22 #2C1D4E #452E7B #5E3FA8 #7E60C3
Accessibility & contrast
On white
10.88
#452E7B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#452E7B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #452E7B
10.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##452E7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##452E7B | 1.00 | 10.88 | 1.93 | 10.88 |
| #FFFFFF | 10.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E7D
Deuteranopia (green-blind)
#013B79
Tritanopia (blue-blind)
#363F50
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #452e7b; /* rgb */ color: rgb(69, 46, 123); /* oklch */ color: oklch(37.2% 0.125 293.1);
Tailwind
colors: {
custom: {
50: '#7d68a2',
500: '#452e7b',
950: '#000000',
},
}SCSS
$custom: #452e7b; $custom-light: #7d68a2; $custom-dark: #000000;
JSON
{
"hex": "#452e7b",
"rgb": {
"r": 69,
"g": 46,
"b": 123
},
"hsl": {
"h": 257.922,
"s": 45.562,
"l": 33.137
},
"oklch": {
"l": 0.37223,
"c": 0.12509,
"h": 293.1
},
"luminance": 0.04649
}Semantic roles & 50–950 ramp
primary
#452E7B
secondary
#92AA5B
accent
#D553AE
background
#F7F6FA
surface
#EEEBF3
border
#C9C6CD
text
#0A060F
muted
#7C7A7F