#451C7E#451C7E
#451C7E is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.9% C 0.153 H 296.6°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).
Color values
| HEX | #451C7E |
|---|---|
| RGB | rgb(69, 28, 126) |
| HSL | hsl(265, 64%, 30%) |
| HSV | hsv(265, 78%, 49%) |
| CMYK | cmyk(45.2%, 77.8%, 0%, 50.6%) |
| CIE-LAB | lab(22.31, 40.74, -47.79) |
| CIE-LCH | lch(22.31, 62.80, 310.45°) |
| OKLab | oklab(34.86% 0.0684 -0.1368) |
| OKLCH | oklch(34.86% 0.153 296.6) |
| XYZ | xyz(6.6344, 3.6019, 20.0803) |
| Luminance | 0.0360 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 3.74
Indigo (survey)
#380282
ΔE00 4.40
Royal Purple (survey)
#4B006E
ΔE00 5.01
Midnight Blue
#191970
ΔE00 6.87
Royal
#0C1793
ΔE00 7.34
Indigo Blue
#3A18B1
ΔE00 7.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#451C7E #557E1C
analogous
#1C247E #451C7E #761C7E
triadic
#451C7E #7E451C #1C7E45
tetradic
#451C7E #7E1C24 #557E1C #1C7E76
square
#451C7E #7E1C24 #557E1C #1C7E76
split-complementary
#451C7E #7E761C #247E1C
monochromatic
#0E061A #2A114C #451C7E #6027B0 #7E40D5
Accessibility & contrast
On white
12.21
#451C7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#451C7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #451C7E
12.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##451C7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##451C7E | 1.00 | 12.21 | 1.72 | 12.21 |
| #FFFFFF | 12.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003681
Deuteranopia (green-blind)
#00347C
Tritanopia (blue-blind)
#36364C
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #451c7e; /* rgb */ color: rgb(69, 28, 126); /* oklch */ color: oklch(34.9% 0.153 296.6);
Tailwind
colors: {
custom: {
50: '#7f5da4',
500: '#451c7e',
950: '#000000',
},
}SCSS
$custom: #451c7e; $custom-light: #7f5da4; $custom-dark: #000000;
JSON
{
"hex": "#451c7e",
"rgb": {
"r": 69,
"g": 28,
"b": 126
},
"hsl": {
"h": 265.102,
"s": 63.636,
"l": 30.196
},
"oklch": {
"l": 0.34861,
"c": 0.15298,
"h": 296.6
},
"luminance": 0.03602
}Semantic roles & 50–950 ramp
primary
#451C7E
secondary
#84B244
accent
#E741A1
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F