#551581#551581

#551581 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.5% C 0.166 H 306.2°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#551581
RGBrgb(85, 21, 129)
HSLhsl(276, 72%, 29%)
HSVhsv(276, 84%, 51%)
CMYKcmyk(34.1%, 83.7%, 0%, 49.4%)
CIE-LABlab(23.84, 47.16, -47.09)
CIE-LCHlch(23.84, 66.64, 315.04°)
OKLaboklab(36.51% 0.0983 -0.1341)
OKLCHoklch(36.51% 0.166 306.2)
XYZxyz(7.9760, 4.0527, 21.1267)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551581 #418115
analogous
#1F1581 #551581 #811577
triadic
#551581 #815515 #158155
tetradic
#551581 #811F15 #418115 #157781
square
#551581 #811F15 #418115 #157781
split-complementary
#551581 #778115 #15811F
monochromatic
#11041A #320C4C #551581 #781EB6 #9833DE

Accessibility & contrast

On white

11.60
#551581 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#551581 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551581
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551581#FFFFFF#000000##FFFFFF
##5515811.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003784
Deuteranopia (green-blind)
#00397F
Tritanopia (blue-blind)
#4D324C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #551581;
/* rgb */ color: rgb(85, 21, 129);
/* oklch */ color: oklch(36.5% 0.166 306.2);
Tailwind
colors: {
  custom: {
    50: '#8a5ca6',
    500: '#551581',
    950: '#000000',
  },
}
SCSS
$custom: #551581;
$custom-light: #8a5ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#551581",
  "rgb": {
    "r": 85,
    "g": 21,
    "b": 129
  },
  "hsl": {
    "h": 275.556,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.36506,
    "c": 0.16626,
    "h": 306.2
  },
  "luminance": 0.04053
}

Semantic roles & 50–950 ramp

primary
#551581
secondary
#6EB63C
accent
#EF3983
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #551581

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#551581 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva