#551266#551266

#551266 is a dark, vivid purple. Relative luminance 0.033; OKLCH L 34.0% C 0.143 H 318.3°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#551266
RGBrgb(85, 18, 102)
HSLhsl(288, 70%, 24%)
HSVhsv(288, 82%, 40%)
CMYKcmyk(16.7%, 82.4%, 0%, 60%)
CIE-LABlab(21.30, 42.24, -33.86)
CIE-LCHlch(21.30, 54.14, 321.28°)
OKLaboklab(34.03% 0.1071 -0.0952)
OKLCHoklch(34.03% 0.143 318.3)
XYZxyz(6.3606, 3.3235, 12.8743)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551266 #236612
analogous
#2B1266 #551266 #66124D
triadic
#551266 #665512 #126655
tetradic
#551266 #662B12 #236612 #124D66
square
#551266 #662B12 #236612 #124D66
split-complementary
#551266 #4D6612 #12662B
monochromatic
#16051A #2A0932 #551266 #801B9A #AC24CE

Accessibility & contrast

On white

12.62
#551266 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#551266 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551266
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551266#FFFFFF#000000##FFFFFF
##5512661.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F68
Deuteranopia (green-blind)
#163564
Tritanopia (blue-blind)
#55253C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #551266;
/* rgb */ color: rgb(85, 18, 102);
/* oklch */ color: oklch(34.0% 0.143 318.3);
Tailwind
colors: {
  custom: {
    50: '#885992',
    500: '#551266',
    950: '#000000',
  },
}
SCSS
$custom: #551266;
$custom-light: #885992;
$custom-dark: #000000;
JSON
{
  "hex": "#551266",
  "rgb": {
    "r": 85,
    "g": 18,
    "b": 102
  },
  "hsl": {
    "h": 287.857,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.34034,
    "c": 0.1433,
    "h": 318.3
  },
  "luminance": 0.03323
}

Semantic roles & 50–950 ramp

primary
#551266
secondary
#4B9E36
accent
#ED3B5F
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #551266

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

Preview Lab → · Contrast checker → · Palette generator →

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