#451F8D#451F8D
#451F8D is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.6% C 0.167 H 291.6°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).
Color values
| HEX | #451F8D |
|---|---|
| RGB | rgb(69, 31, 141) |
| HSL | hsl(261, 64%, 34%) |
| HSV | hsv(261, 78%, 55%) |
| CMYK | cmyk(51.1%, 78%, 0%, 44.7%) |
| CIE-LAB | lab(24.22, 43.46, -54.08) |
| CIE-LCH | lch(24.22, 69.38, 308.79°) |
| OKLab | oklab(36.63% 0.0616 -0.1553) |
| OKLCH | oklch(36.63% 0.167 291.6) |
| XYZ | xyz(7.7506, 4.1680, 25.5903) |
| Luminance | 0.0417 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 4.60
Indigo (survey)
#380282
ΔE00 4.79
Indigo Blue
#3A18B1
ΔE00 5.41
Royal
#0C1793
ΔE00 6.14
Ultramarine
#2000B1
ΔE00 7.02
Cobalt Blue
#030AA7
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#451F8D #678D1F
analogous
#1F308D #451F8D #7C1F8D
triadic
#451F8D #8D451F #1F8D45
tetradic
#451F8D #8D1F30 #678D1F #1F8D7C
square
#451F8D #8D1F30 #678D1F #1F8D7C
split-complementary
#451F8D #8D7C1F #308D1F
monochromatic
#140929 #2C145B #451F8D #5E2ABF #7E4ED8
Accessibility & contrast
On white
11.45
#451F8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#451F8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #451F8D
11.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##451F8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##451F8D | 1.00 | 11.45 | 1.83 | 11.45 |
| #FFFFFF | 11.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B90
Deuteranopia (green-blind)
#00378B
Tritanopia (blue-blind)
#2D3D55
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #451f8d; /* rgb */ color: rgb(69, 31, 141); /* oklch */ color: oklch(36.6% 0.167 291.6);
Tailwind
colors: {
custom: {
50: '#815faf',
500: '#451f8d',
950: '#000000',
},
}SCSS
$custom: #451f8d; $custom-light: #815faf; $custom-dark: #000000;
JSON
{
"hex": "#451f8d",
"rgb": {
"r": 69,
"g": 31,
"b": 141
},
"hsl": {
"h": 260.727,
"s": 63.953,
"l": 33.725
},
"oklch": {
"l": 0.36632,
"c": 0.16707,
"h": 291.6
},
"luminance": 0.04168
}Semantic roles & 50–950 ramp
primary
#451F8D
secondary
#95BB4D
accent
#E741AE
background
#F8F5FA
surface
#EFE9F5
border
#CAC5CF
text
#0B0510
muted
#7C797F