#552A9A#552A9A
#552A9A is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.9% C 0.171 H 295.4°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).
Color values
| HEX | #552A9A |
|---|---|
| RGB | rgb(85, 42, 154) |
| HSL | hsl(263, 57%, 38%) |
| HSV | hsv(263, 73%, 60%) |
| CMYK | cmyk(44.8%, 72.7%, 0%, 39.6%) |
| CIE-LAB | lab(29.21, 44.32, -53.85) |
| CIE-LCH | lch(29.21, 69.74, 309.46°) |
| OKLab | oklab(40.94% 0.073 -0.1541) |
| OKLCH | oklch(40.94% 0.171 295.4) |
| XYZ | xyz(10.4054, 5.9201, 31.1600) |
| Luminance | 0.0592 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.88
Indigo Blue
#3A18B1
ΔE00 5.95
Darkslateblue
#483D8B
ΔE00 6.76
Violet Blue
#510AC9
ΔE00 7.13
Indigo
#4B0082
ΔE00 7.17
Purple Blue
#5D21D0
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#552A9A #6F9A2A
analogous
#2A379A #552A9A #8D2A9A
triadic
#552A9A #9A552A #2A9A55
tetradic
#552A9A #9A2A37 #6F9A2A #2A9A8D
square
#552A9A #9A2A37 #6F9A2A #2A9A8D
split-complementary
#552A9A #9A8D2A #379A2A
monochromatic
#20103A #3A1D6A #552A9A #7038C9 #9268D6
Accessibility & contrast
On white
9.62
#552A9A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#552A9A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #552A9A
9.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##552A9A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##552A9A | 1.00 | 9.62 | 2.18 | 9.62 |
| #FFFFFF | 9.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00469D
Deuteranopia (green-blind)
#004398
Tritanopia (blue-blind)
#42475F
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #552a9a; /* rgb */ color: rgb(85, 42, 154); /* oklch */ color: oklch(40.9% 0.171 295.4);
Tailwind
colors: {
custom: {
50: '#8b67b9',
500: '#552a9a',
950: '#000000',
},
}SCSS
$custom: #552a9a; $custom-light: #8b67b9; $custom-dark: #000000;
JSON
{
"hex": "#552a9a",
"rgb": {
"r": 85,
"g": 42,
"b": 154
},
"hsl": {
"h": 263.036,
"s": 57.143,
"l": 38.431
},
"oklch": {
"l": 0.40944,
"c": 0.17056,
"h": 295.4
},
"luminance": 0.0592
}Semantic roles & 50–950 ramp
primary
#552A9A
secondary
#9ABC63
accent
#E047A6
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0611
muted
#7D7A80