#551472#551472

#551472 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 35.2% C 0.153 H 312.5°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#551472
RGBrgb(85, 20, 114)
HSLhsl(281, 70%, 26%)
HSVhsv(281, 82%, 45%)
CMYKcmyk(25.4%, 82.5%, 0%, 55.3%)
CIE-LABlab(22.47, 44.11, -39.76)
CIE-LCHlch(22.47, 59.38, 317.96°)
OKLaboklab(35.15% 0.103 -0.1126)
OKLCHoklch(35.15% 0.153 312.5)
XYZxyz(7.0332, 3.6467, 16.2497)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551472 #317214
analogous
#261472 #551472 #721460
triadic
#551472 #725514 #147255
tetradic
#551472 #722614 #317214 #146072
square
#551472 #722614 #317214 #146072
split-complementary
#551472 #607214 #147226
monochromatic
#13051A #2E0B3E #551472 #7C1DA6 #A227D9

Accessibility & contrast

On white

12.14
#551472 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#551472 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551472
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551472#FFFFFF#000000##FFFFFF
##5514721.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003375
Deuteranopia (green-blind)
#033770
Tritanopia (blue-blind)
#522B43
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #551472;
/* rgb */ color: rgb(85, 20, 114);
/* oklch */ color: oklch(35.2% 0.153 312.5);
Tailwind
colors: {
  custom: {
    50: '#895a9b',
    500: '#551472',
    950: '#000000',
  },
}
SCSS
$custom: #551472;
$custom-light: #895a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#551472",
  "rgb": {
    "r": 85,
    "g": 20,
    "b": 114
  },
  "hsl": {
    "h": 281.489,
    "s": 70.149,
    "l": 26.275
  },
  "oklch": {
    "l": 0.35152,
    "c": 0.1526,
    "h": 312.5
  },
  "luminance": 0.03647
}

Semantic roles & 50–950 ramp

primary
#551472
secondary
#5CA839
accent
#ED3B72
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #551472

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

Preview Lab → · Contrast checker → · Palette generator →

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