#451C7C#451C7C
#451C7C is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.7% C 0.151 H 297.2°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).
Color values
| HEX | #451C7C |
|---|---|
| RGB | rgb(69, 28, 124) |
| HSL | hsl(266, 63%, 30%) |
| HSV | hsv(266, 77%, 49%) |
| CMYK | cmyk(44.4%, 77.4%, 0%, 51.4%) |
| CIE-LAB | lab(22.13, 40.20, -46.82) |
| CIE-LCH | lch(22.13, 61.71, 310.65°) |
| OKLab | oklab(34.68% 0.0689 -0.134) |
| OKLCH | oklch(34.68% 0.151 297.2) |
| XYZ | xyz(6.5066, 3.5508, 19.4074) |
| Luminance | 0.0355 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 3.82
Indigo (survey)
#380282
ΔE00 4.54
Royal Purple (survey)
#4B006E
ΔE00 4.83
Midnight Blue
#191970
ΔE00 6.87
Royal
#0C1793
ΔE00 7.58
Indigo Blue
#3A18B1
ΔE00 8.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#451C7C #537C1C
analogous
#1C237C #451C7C #751C7C
triadic
#451C7C #7C451C #1C7C45
tetradic
#451C7C #7C1C23 #537C1C #1C7C75
square
#451C7C #7C1C23 #537C1C #1C7C75
split-complementary
#451C7C #7C751C #237C1C
monochromatic
#0E0619 #29114A #451C7C #6127AE #7E3FD4
Accessibility & contrast
On white
12.28
#451C7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#451C7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #451C7C
12.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##451C7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##451C7C | 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)
#00357F
Deuteranopia (green-blind)
#00347A
Tritanopia (blue-blind)
#37354B
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #451c7c; /* rgb */ color: rgb(69, 28, 124); /* oklch */ color: oklch(34.7% 0.151 297.2);
Tailwind
colors: {
custom: {
50: '#7f5da3',
500: '#451c7c',
950: '#000000',
},
}SCSS
$custom: #451c7c; $custom-light: #7f5da3; $custom-dark: #000000;
JSON
{
"hex": "#451c7c",
"rgb": {
"r": 69,
"g": 28,
"b": 124
},
"hsl": {
"h": 265.625,
"s": 63.158,
"l": 29.804
},
"oklch": {
"l": 0.34677,
"c": 0.15068,
"h": 297.2
},
"luminance": 0.03551
}Semantic roles & 50–950 ramp
primary
#451C7C
secondary
#82B044
accent
#E642A0
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F