#451F8C#451F8C
#451F8C is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.5% C 0.166 H 291.9°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).
Color values
| HEX | #451F8C |
|---|---|
| RGB | rgb(69, 31, 140) |
| HSL | hsl(261, 64%, 34%) |
| HSV | hsv(261, 78%, 55%) |
| CMYK | cmyk(50.7%, 77.9%, 0%, 45.1%) |
| CIE-LAB | lab(24.12, 43.18, -53.62) |
| CIE-LCH | lch(24.12, 68.84, 308.85°) |
| OKLab | oklab(36.54% 0.0619 -0.1539) |
| OKLCH | oklch(36.54% 0.166 291.9) |
| XYZ | xyz(7.6765, 4.1383, 25.2002) |
| Luminance | 0.0414 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 4.54
Indigo (survey)
#380282
ΔE00 4.76
Indigo Blue
#3A18B1
ΔE00 5.57
Royal
#0C1793
ΔE00 6.20
Royal Purple (survey)
#4B006E
ΔE00 6.93
Ultramarine
#2000B1
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#451F8C #668C1F
analogous
#1F308C #451F8C #7B1F8C
triadic
#451F8C #8C451F #1F8C45
tetradic
#451F8C #8C1F30 #668C1F #1F8C7B
square
#451F8C #8C1F30 #668C1F #1F8C7B
split-complementary
#451F8C #8C7B1F #308C1F
monochromatic
#140928 #2C145A #451F8C #5E2ABE #7E4ED8
Accessibility & contrast
On white
11.49
#451F8C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#451F8C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #451F8C
11.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##451F8C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##451F8C | 1.00 | 11.49 | 1.83 | 11.49 |
| #FFFFFF | 11.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B8F
Deuteranopia (green-blind)
#00378A
Tritanopia (blue-blind)
#2E3D54
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #451f8c; /* rgb */ color: rgb(69, 31, 140); /* oklch */ color: oklch(36.5% 0.166 291.9);
Tailwind
colors: {
custom: {
50: '#815faf',
500: '#451f8c',
950: '#000000',
},
}SCSS
$custom: #451f8c; $custom-light: #815faf; $custom-dark: #000000;
JSON
{
"hex": "#451f8c",
"rgb": {
"r": 69,
"g": 31,
"b": 140
},
"hsl": {
"h": 260.917,
"s": 63.743,
"l": 33.529
},
"oklch": {
"l": 0.36536,
"c": 0.16592,
"h": 291.9
},
"luminance": 0.04139
}Semantic roles & 50–950 ramp
primary
#451F8C
secondary
#94BB4C
accent
#E741AD
background
#F8F5FA
surface
#EFE9F5
border
#CAC5CF
text
#0B0510
muted
#7C797F