#451C7F#451C7F
#451C7F is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.0% C 0.154 H 296.2°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).
Color values
| HEX | #451C7F |
|---|---|
| RGB | rgb(69, 28, 127) |
| HSL | hsl(265, 64%, 30%) |
| HSV | hsv(265, 78%, 50%) |
| CMYK | cmyk(45.7%, 78%, 0%, 50.2%) |
| CIE-LAB | lab(22.40, 41.02, -48.27) |
| CIE-LCH | lch(22.40, 63.35, 310.35°) |
| OKLab | oklab(34.95% 0.0681 -0.1383) |
| OKLCH | oklch(34.95% 0.154 296.2) |
| XYZ | xyz(6.6992, 3.6279, 20.4218) |
| Luminance | 0.0363 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 3.71
Indigo (survey)
#380282
ΔE00 4.34
Royal Purple (survey)
#4B006E
ΔE00 5.11
Midnight Blue
#191970
ΔE00 6.88
Royal
#0C1793
ΔE00 7.22
Indigo Blue
#3A18B1
ΔE00 7.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#451C7F #567F1C
analogous
#1C257F #451C7F #761C7F
triadic
#451C7F #7F451C #1C7F45
tetradic
#451C7F #7F1C25 #567F1C #1C7F76
square
#451C7F #7F1C25 #567F1C #1C7F76
split-complementary
#451C7F #7F761C #257F1C
monochromatic
#0F061B #2A114D #451C7F #6027B1 #7E40D5
Accessibility & contrast
On white
12.17
#451C7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#451C7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #451C7F
12.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##451C7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##451C7F | 1.00 | 12.17 | 1.73 | 12.17 |
| #FFFFFF | 12.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003682
Deuteranopia (green-blind)
#00347D
Tritanopia (blue-blind)
#35364C
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #451c7f; /* rgb */ color: rgb(69, 28, 127); /* oklch */ color: oklch(35.0% 0.154 296.2);
Tailwind
colors: {
custom: {
50: '#7f5da5',
500: '#451c7f',
950: '#000000',
},
}SCSS
$custom: #451c7f; $custom-light: #7f5da5; $custom-dark: #000000;
JSON
{
"hex": "#451c7f",
"rgb": {
"r": 69,
"g": 28,
"b": 127
},
"hsl": {
"h": 264.848,
"s": 63.871,
"l": 30.392
},
"oklch": {
"l": 0.34954,
"c": 0.15413,
"h": 296.2
},
"luminance": 0.03628
}Semantic roles & 50–950 ramp
primary
#451C7F
secondary
#85B344
accent
#E741A2
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F