#451F7C#451F7C
#451F7C is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.0% C 0.147 H 296.7°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).
Color values
| HEX | #451F7C |
|---|---|
| RGB | rgb(69, 31, 124) |
| HSL | hsl(265, 60%, 30%) |
| HSV | hsv(265, 75%, 49%) |
| CMYK | cmyk(44.4%, 75%, 0%, 51.4%) |
| CIE-LAB | lab(22.65, 38.70, -45.96) |
| CIE-LCH | lch(22.65, 60.08, 310.10°) |
| OKLab | oklab(35.05% 0.066 -0.1315) |
| OKLCH | oklch(35.05% 0.147 296.7) |
| XYZ | xyz(6.5814, 3.7003, 19.4323) |
| Luminance | 0.0370 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 4.43
Indigo (survey)
#380282
ΔE00 5.08
Royal Purple (survey)
#4B006E
ΔE00 5.34
Midnight Blue
#191970
ΔE00 6.86
Royal
#0C1793
ΔE00 7.69
Rebeccapurple
#663399
ΔE00 7.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#451F7C #567C1F
analogous
#1F277C #451F7C #731F7C
triadic
#451F7C #7C451F #1F7C45
tetradic
#451F7C #7C1F27 #567C1F #1F7C73
square
#451F7C #7C1F27 #567C1F #1F7C73
split-complementary
#451F7C #7C731F #277C1F
monochromatic
#0F071A #2A134B #451F7C #602BAD #7E45D0
Accessibility & contrast
On white
12.07
#451F7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#451F7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #451F7C
12.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##451F7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##451F7C | 1.00 | 12.07 | 1.74 | 12.07 |
| #FFFFFF | 12.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00377F
Deuteranopia (green-blind)
#00357A
Tritanopia (blue-blind)
#37374B
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #451f7c; /* rgb */ color: rgb(69, 31, 124); /* oklch */ color: oklch(35.0% 0.147 296.7);
Tailwind
colors: {
custom: {
50: '#7e5ea3',
500: '#451f7c',
950: '#000000',
},
}SCSS
$custom: #451f7c; $custom-light: #7e5ea3; $custom-dark: #000000;
JSON
{
"hex": "#451f7c",
"rgb": {
"r": 69,
"g": 31,
"b": 124
},
"hsl": {
"h": 264.516,
"s": 60,
"l": 30.392
},
"oklch": {
"l": 0.35049,
"c": 0.14712,
"h": 296.7
},
"luminance": 0.037
}Semantic roles & 50–950 ramp
primary
#451F7C
secondary
#85AF48
accent
#E345A2
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A050F
muted
#7C797F