#551582#551582

#551582 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.6% C 0.167 H 305.9°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#551582
RGBrgb(85, 21, 130)
HSLhsl(275, 72%, 30%)
HSVhsv(275, 84%, 51%)
CMYKcmyk(34.6%, 83.8%, 0%, 49%)
CIE-LABlab(23.93, 47.39, -47.58)
CIE-LCHlch(23.93, 67.15, 314.89°)
OKLaboklab(36.59% 0.098 -0.1355)
OKLCHoklch(36.59% 0.167 305.9)
XYZxyz(8.0428, 4.0794, 21.4785)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551582 #428215
analogous
#1E1582 #551582 #821579
triadic
#551582 #825515 #158255
tetradic
#551582 #821E15 #428215 #157982
square
#551582 #821E15 #428215 #157982
split-complementary
#551582 #798215 #15821E
monochromatic
#11041A #330C4D #551582 #771EB7 #9833DE

Accessibility & contrast

On white

11.57
#551582 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#551582 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551582
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551582#FFFFFF#000000##FFFFFF
##5515821.0011.571.8211.57
#FFFFFF11.571.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003785
Deuteranopia (green-blind)
#003980
Tritanopia (blue-blind)
#4D334D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #551582;
/* rgb */ color: rgb(85, 21, 130);
/* oklch */ color: oklch(36.6% 0.167 305.9);
Tailwind
colors: {
  custom: {
    50: '#8a5ca7',
    500: '#551582',
    950: '#000000',
  },
}
SCSS
$custom: #551582;
$custom-light: #8a5ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#551582",
  "rgb": {
    "r": 85,
    "g": 21,
    "b": 130
  },
  "hsl": {
    "h": 275.229,
    "s": 72.185,
    "l": 29.608
  },
  "oklch": {
    "l": 0.36594,
    "c": 0.16725,
    "h": 305.9
  },
  "luminance": 0.04079
}

Semantic roles & 50–950 ramp

primary
#551582
secondary
#6FB73C
accent
#EF3984
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0410
muted
#7D797F

Preview Lab

Preview with #551582

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

Preview Lab → · Contrast checker → · Palette generator →

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