#551168#551168

#551168 is a dark, vivid purple. Relative luminance 0.033; OKLCH L 34.1% C 0.146 H 317.4°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#551168
RGBrgb(85, 17, 104)
HSLhsl(287, 72%, 24%)
HSVhsv(287, 84%, 41%)
CMYKcmyk(18.3%, 83.7%, 0%, 59.2%)
CIE-LABlab(21.33, 43.00, -35.12)
CIE-LCHlch(21.33, 55.52, 320.76°)
OKLaboklab(34.1% 0.1076 -0.0989)
OKLCHoklch(34.1% 0.146 317.4)
XYZxyz(6.4451, 3.3320, 13.3977)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551168 #246811
analogous
#291168 #551168 #68114F
triadic
#551168 #685511 #116855
tetradic
#551168 #682911 #246811 #114F68
square
#551168 #682911 #246811 #114F68
split-complementary
#551168 #4F6811 #116829
monochromatic
#15041A #2A0833 #551168 #801A9D #AB22D1

Accessibility & contrast

On white

12.60
#551168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#551168 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551168
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551168#FFFFFF#000000##FFFFFF
##5511681.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6A
Deuteranopia (green-blind)
#133566
Tritanopia (blue-blind)
#54253D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #551168;
/* rgb */ color: rgb(85, 17, 104);
/* oklch */ color: oklch(34.1% 0.146 317.4);
Tailwind
colors: {
  custom: {
    50: '#885994',
    500: '#551168',
    950: '#000000',
  },
}
SCSS
$custom: #551168;
$custom-light: #885994;
$custom-dark: #000000;
JSON
{
  "hex": "#551168",
  "rgb": {
    "r": 85,
    "g": 17,
    "b": 104
  },
  "hsl": {
    "h": 286.897,
    "s": 71.901,
    "l": 23.725
  },
  "oklch": {
    "l": 0.34104,
    "c": 0.14618,
    "h": 317.4
  },
  "luminance": 0.03332
}

Semantic roles & 50–950 ramp

primary
#551168
secondary
#4CA035
accent
#EF3961
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #551168

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

Preview Lab → · Contrast checker → · Palette generator →

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