#451F9C#451F9C
#451F9C is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.1% C 0.184 H 288.0°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).
Color values
| HEX | #451F9C |
|---|---|
| RGB | rgb(69, 31, 156) |
| HSL | hsl(258, 67%, 37%) |
| HSV | hsv(258, 80%, 61%) |
| CMYK | cmyk(55.8%, 80.1%, 0%, 38.8%) |
| CIE-LAB | lab(25.70, 47.68, -60.90) |
| CIE-LCH | lch(25.70, 77.35, 308.06°) |
| OKLab | oklab(38.11% 0.057 -0.1752) |
| OKLCH | oklch(38.11% 0.184 288) |
| XYZ | xyz(8.9432, 4.6450, 31.8714) |
| Luminance | 0.0464 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.27
Ultramarine
#2000B1
ΔE00 5.56
Indigo (survey)
#380282
ΔE00 5.84
Indigo
#4B0082
ΔE00 5.87
Royal
#0C1793
ΔE00 5.89
Cobalt Blue
#030AA7
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#451F9C #769C1F
analogous
#1F389C #451F9C #841F9C
triadic
#451F9C #9C451F #1F9C45
tetradic
#451F9C #9C1F38 #769C1F #1F9C84
square
#451F9C #9C1F38 #769C1F #1F9C84
split-complementary
#451F9C #9C841F #389C1F
monochromatic
#180B36 #2E1569 #451F9C #5C29CF #8058DE
Accessibility & contrast
On white
10.89
#451F9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#451F9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #451F9C
10.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##451F9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##451F9C | 1.00 | 10.89 | 1.93 | 10.89 |
| #FFFFFF | 10.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00409F
Deuteranopia (green-blind)
#003A9A
Tritanopia (blue-blind)
#20445E
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #451f9c; /* rgb */ color: rgb(69, 31, 156); /* oklch */ color: oklch(38.1% 0.184 288.0);
Tailwind
colors: {
custom: {
50: '#8360ba',
500: '#451f9c',
950: '#000000',
},
}SCSS
$custom: #451f9c; $custom-light: #8360ba; $custom-dark: #000000;
JSON
{
"hex": "#451f9c",
"rgb": {
"r": 69,
"g": 31,
"b": 156
},
"hsl": {
"h": 258.24,
"s": 66.845,
"l": 36.667
},
"oklch": {
"l": 0.38112,
"c": 0.18429,
"h": 288
},
"luminance": 0.04645
}Semantic roles & 50–950 ramp
primary
#451F9C
secondary
#A1C155
accent
#EA3EB6
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0512
muted
#7D7981