#451A7C#451A7C
#451A7C is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.4% C 0.153 H 297.6°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).
Color values
| HEX | #451A7C |
|---|---|
| RGB | rgb(69, 26, 124) |
| HSL | hsl(266, 65%, 29%) |
| HSV | hsv(266, 79%, 49%) |
| CMYK | cmyk(44.4%, 79%, 0%, 51.4%) |
| CIE-LAB | lab(21.80, 41.14, -47.36) |
| CIE-LCH | lch(21.80, 62.74, 310.98°) |
| OKLab | oklab(34.45% 0.0708 -0.1355) |
| OKLCH | oklch(34.45% 0.153 297.6) |
| XYZ | xyz(6.4608, 3.4591, 19.3922) |
| Luminance | 0.0346 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 3.45
Indigo (survey)
#380282
ΔE00 4.22
Royal Purple (survey)
#4B006E
ΔE00 4.52
Midnight Blue
#191970
ΔE00 6.91
Royal
#0C1793
ΔE00 7.54
Indigo Blue
#3A18B1
ΔE00 8.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#451A7C #517C1A
analogous
#1A207C #451A7C #761A7C
triadic
#451A7C #7C451A #1A7C45
tetradic
#451A7C #7C1A20 #517C1A #1A7C76
square
#451A7C #7C1A20 #517C1A #1A7C76
split-complementary
#451A7C #7C761A #207C1A
monochromatic
#0E0519 #290F49 #451A7C #6125AF #7F3BD6
Accessibility & contrast
On white
12.41
#451A7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#451A7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #451A7C
12.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##451A7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##451A7C | 1.00 | 12.41 | 1.69 | 12.41 |
| #FFFFFF | 12.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00347F
Deuteranopia (green-blind)
#00337A
Tritanopia (blue-blind)
#37344A
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #451a7c; /* rgb */ color: rgb(69, 26, 124); /* oklch */ color: oklch(34.4% 0.153 297.6);
Tailwind
colors: {
custom: {
50: '#7f5ca3',
500: '#451a7c',
950: '#000000',
},
}SCSS
$custom: #451a7c; $custom-light: #7f5ca3; $custom-dark: #000000;
JSON
{
"hex": "#451a7c",
"rgb": {
"r": 69,
"g": 26,
"b": 124
},
"hsl": {
"h": 266.327,
"s": 65.333,
"l": 29.412
},
"oklch": {
"l": 0.34445,
"c": 0.15292,
"h": 297.6
},
"luminance": 0.03459
}Semantic roles & 50–950 ramp
primary
#451A7C
secondary
#80B042
accent
#E8409E
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F