#451F6F#451F6F
#451F6F is a dark, vivid violet. Relative luminance 0.034; OKLCH L 33.9% C 0.132 H 301.4°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).
Color values
| HEX | #451F6F |
|---|---|
| RGB | rgb(69, 31, 111) |
| HSL | hsl(269, 56%, 28%) |
| HSV | hsv(269, 72%, 44%) |
| CMYK | cmyk(37.8%, 72.1%, 0%, 56.5%) |
| CIE-LAB | lab(21.55, 35.13, -39.42) |
| CIE-LCH | lch(21.55, 52.80, 311.70°) |
| OKLab | oklab(33.92% 0.0686 -0.1123) |
| OKLCH | oklch(33.92% 0.132 301.4) |
| XYZ | xyz(5.8128, 3.3929, 15.3845) |
| Luminance | 0.0339 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 4.87
Indigo
#4B0082
ΔE00 5.66
Indigo (survey)
#380282
ΔE00 6.57
Midnight Blue
#191970
ΔE00 7.49
Dark Indigo
#1F0954
ΔE00 7.95
Plum Purple
#4E0550
ΔE00 8.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#451F6F #496F1F
analogous
#1F216F #451F6F #6D1F6F
triadic
#451F6F #6F451F #1F6F45
tetradic
#451F6F #6F1F21 #496F1F #1F6F6D
square
#451F6F #6F1F21 #496F1F #1F6F6D
split-complementary
#451F6F #6F6D1F #216F1F
monochromatic
#0F0718 #27123F #451F6F #632C9F #813FC9
Accessibility & contrast
On white
12.51
#451F6F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#451F6F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #451F6F
12.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##451F6F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##451F6F | 1.00 | 12.51 | 1.68 | 12.51 |
| #FFFFFF | 12.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003371
Deuteranopia (green-blind)
#00336D
Tritanopia (blue-blind)
#3C3244
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #451f6f; /* rgb */ color: rgb(69, 31, 111); /* oklch */ color: oklch(33.9% 0.132 301.4);
Tailwind
colors: {
custom: {
50: '#7d5e99',
500: '#451f6f',
950: '#000000',
},
}SCSS
$custom: #451f6f; $custom-light: #7d5e99; $custom-dark: #000000;
JSON
{
"hex": "#451f6f",
"rgb": {
"r": 69,
"g": 31,
"b": 111
},
"hsl": {
"h": 268.5,
"s": 56.338,
"l": 27.843
},
"oklch": {
"l": 0.33922,
"c": 0.13153,
"h": 301.4
},
"luminance": 0.03393
}Semantic roles & 50–950 ramp
primary
#451F6F
secondary
#77A347
accent
#E04898
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E