#451F76#451F76
#451F76 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.5% C 0.140 H 298.7°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).
Color values
| HEX | #451F76 |
|---|---|
| RGB | rgb(69, 31, 118) |
| HSL | hsl(266, 58%, 29%) |
| HSV | hsv(266, 74%, 46%) |
| CMYK | cmyk(41.5%, 73.7%, 0%, 53.7%) |
| CIE-LAB | lab(22.14, 37.04, -42.98) |
| CIE-LCH | lch(22.14, 56.74, 310.76°) |
| OKLab | oklab(34.52% 0.0673 -0.1227) |
| OKLCH | oklch(34.52% 0.14 298.7) |
| XYZ | xyz(6.2134, 3.5531, 17.4945) |
| Luminance | 0.0355 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 4.86
Royal Purple (survey)
#4B006E
ΔE00 4.98
Indigo (survey)
#380282
ΔE00 5.65
Midnight Blue
#191970
ΔE00 7.02
Dark Indigo
#1F0954
ΔE00 8.32
Rebeccapurple
#663399
ΔE00 8.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#451F76 #50761F
analogous
#1F2576 #451F76 #711F76
triadic
#451F76 #76451F #1F7645
tetradic
#451F76 #761F25 #50761F #1F7671
square
#451F76 #761F25 #50761F #1F7671
split-complementary
#451F76 #76711F #25761F
monochromatic
#0E0618 #291246 #451F76 #612CA6 #7F42CD
Accessibility & contrast
On white
12.28
#451F76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#451F76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #451F76
12.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##451F76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##451F76 | 1.00 | 12.28 | 1.71 | 12.28 |
| #FFFFFF | 12.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003579
Deuteranopia (green-blind)
#003474
Tritanopia (blue-blind)
#393448
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #451f76; /* rgb */ color: rgb(69, 31, 118); /* oklch */ color: oklch(34.5% 0.140 298.7);
Tailwind
colors: {
custom: {
50: '#7e5e9e',
500: '#451f76',
950: '#000000',
},
}SCSS
$custom: #451f76; $custom-light: #7e5e9e; $custom-dark: #000000;
JSON
{
"hex": "#451f76",
"rgb": {
"r": 69,
"g": 31,
"b": 118
},
"hsl": {
"h": 266.207,
"s": 58.389,
"l": 29.216
},
"oklch": {
"l": 0.34519,
"c": 0.13995,
"h": 298.7
},
"luminance": 0.03553
}Semantic roles & 50–950 ramp
primary
#451F76
secondary
#7FAA47
accent
#E2469E
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E