#452F7D#452F7D
#452F7D is a dark, vivid violet. Relative luminance 0.048; OKLCH L 37.6% C 0.126 H 292.2°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).
Color values
| HEX | #452F7D |
|---|---|
| RGB | rgb(69, 47, 125) |
| HSL | hsl(257, 45%, 34%) |
| HSV | hsv(257, 62%, 49%) |
| CMYK | cmyk(44.8%, 62.4%, 0%, 51%) |
| CIE-LAB | lab(26.09, 29.84, -41.00) |
| CIE-LCH | lch(26.09, 50.71, 306.04°) |
| OKLab | oklab(37.55% 0.0478 -0.1169) |
| OKLCH | oklch(37.55% 0.126 292.2) |
| XYZ | xyz(7.1714, 4.7787, 19.9426) |
| Luminance | 0.0478 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.44
Blueberry
#464196
ΔE00 6.48
Rebeccapurple
#663399
ΔE00 7.18
Midnight Blue
#191970
ΔE00 8.04
Indigo
#4B0082
ΔE00 8.50
Indigo (survey)
#380282
ΔE00 8.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#452F7D #677D2F
analogous
#2F407D #452F7D #6C2F7D
triadic
#452F7D #7D452F #2F7D45
tetradic
#452F7D #7D2F40 #677D2F #2F7D6C
square
#452F7D #7D2F40 #677D2F #2F7D6C
split-complementary
#452F7D #7D6C2F #407D2F
monochromatic
#140E24 #2C1E51 #452F7D #5E40A9 #7E62C4
Accessibility & contrast
On white
10.74
#452F7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#452F7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #452F7D
10.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##452F7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##452F7D | 1.00 | 10.74 | 1.96 | 10.74 |
| #FFFFFF | 10.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F80
Deuteranopia (green-blind)
#003C7B
Tritanopia (blue-blind)
#354151
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #452f7d; /* rgb */ color: rgb(69, 47, 125); /* oklch */ color: oklch(37.6% 0.126 292.2);
Tailwind
colors: {
custom: {
50: '#7d68a3',
500: '#452f7d',
950: '#000000',
},
}SCSS
$custom: #452f7d; $custom-light: #7d68a3; $custom-dark: #000000;
JSON
{
"hex": "#452f7d",
"rgb": {
"r": 69,
"g": 47,
"b": 125
},
"hsl": {
"h": 256.923,
"s": 45.349,
"l": 33.725
},
"oklch": {
"l": 0.37552,
"c": 0.12632,
"h": 292.2
},
"luminance": 0.04779
}Semantic roles & 50–950 ramp
primary
#452F7D
secondary
#95AB5D
accent
#D553B0
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A060F
muted
#7C7A7F