#551F9C#551F9C
#551F9C is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.9% C 0.185 H 296.4°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).
Color values
| HEX | #551F9C |
|---|---|
| RGB | rgb(85, 31, 156) |
| HSL | hsl(266, 67%, 37%) |
| HSV | hsv(266, 80%, 61%) |
| CMYK | cmyk(45.5%, 80.1%, 0%, 38.8%) |
| CIE-LAB | lab(27.60, 49.93, -57.70) |
| CIE-LCH | lch(27.60, 76.31, 310.87°) |
| OKLab | oklab(39.87% 0.0822 -0.1653) |
| OKLCH | oklch(39.87% 0.185 296.4) |
| XYZ | xyz(10.2355, 5.3113, 31.9320) |
| Luminance | 0.0531 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.94
Rebeccapurple
#663399
ΔE00 5.27
Indigo
#4B0082
ΔE00 5.68
Violet Blue
#510AC9
ΔE00 6.12
Indigo (survey)
#380282
ΔE00 6.92
Purple Blue
#5D21D0
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#551F9C #669C1F
analogous
#1F289C #551F9C #941F9C
triadic
#551F9C #9C551F #1F9C55
tetradic
#551F9C #9C1F28 #669C1F #1F9C94
square
#551F9C #9C1F28 #669C1F #1F9C94
split-complementary
#551F9C #9C941F #289C1F
monochromatic
#1D0B36 #391569 #551F9C #7129CF #9258DE
Accessibility & contrast
On white
10.18
#551F9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#551F9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #551F9C
10.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##551F9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##551F9C | 1.00 | 10.18 | 2.06 | 10.18 |
| #FFFFFF | 10.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00429F
Deuteranopia (green-blind)
#003F9A
Tritanopia (blue-blind)
#41425E
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #551f9c; /* rgb */ color: rgb(85, 31, 156); /* oklch */ color: oklch(39.9% 0.185 296.4);
Tailwind
colors: {
custom: {
50: '#8c62ba',
500: '#551f9c',
950: '#000000',
},
}SCSS
$custom: #551f9c; $custom-light: #8c62ba; $custom-dark: #000000;
JSON
{
"hex": "#551f9c",
"rgb": {
"r": 85,
"g": 31,
"b": 156
},
"hsl": {
"h": 265.92,
"s": 66.845,
"l": 36.667
},
"oklch": {
"l": 0.3987,
"c": 0.18462,
"h": 296.4
},
"luminance": 0.05312
}Semantic roles & 50–950 ramp
primary
#551F9C
secondary
#93C155
accent
#EA3EA0
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0512
muted
#7E7A81