#551966#551966

#551966 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.7% C 0.135 H 317.8°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#551966
RGBrgb(85, 25, 102)
HSLhsl(287, 61%, 25%)
HSVhsv(287, 75%, 40%)
CMYKcmyk(16.7%, 75.5%, 0%, 60%)
CIE-LABlab(22.25, 39.50, -32.32)
CIE-LCHlch(22.25, 51.04, 320.71°)
OKLaboklab(34.71% 0.1 -0.0908)
OKLCHoklch(34.71% 0.135 317.8)
XYZxyz(6.4919, 3.5861, 12.9180)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551966 #2A6619
analogous
#2E1966 #551966 #661951
triadic
#551966 #665519 #196655
tetradic
#551966 #662E19 #2A6619 #195166
square
#551966 #662E19 #2A6619 #195166
split-complementary
#551966 #516619 #19662E
monochromatic
#140619 #2C0D35 #551966 #7E2597 #A731C8

Accessibility & contrast

On white

12.23
#551966 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#551966 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551966
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551966#FFFFFF#000000##FFFFFF
##5519661.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003168
Deuteranopia (green-blind)
#1C3764
Tritanopia (blue-blind)
#54283E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #551966;
/* rgb */ color: rgb(85, 25, 102);
/* oklch */ color: oklch(34.7% 0.135 317.8);
Tailwind
colors: {
  custom: {
    50: '#885c92',
    500: '#551966',
    950: '#000000',
  },
}
SCSS
$custom: #551966;
$custom-light: #885c92;
$custom-dark: #000000;
JSON
{
  "hex": "#551966",
  "rgb": {
    "r": 85,
    "g": 25,
    "b": 102
  },
  "hsl": {
    "h": 286.753,
    "s": 60.63,
    "l": 24.902
  },
  "oklch": {
    "l": 0.34714,
    "c": 0.13502,
    "h": 317.8
  },
  "luminance": 0.03586
}

Semantic roles & 50–950 ramp

primary
#551966
secondary
#539C3F
accent
#E44467
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #551966

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

Preview Lab → · Contrast checker → · Palette generator →

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