#551272#551272

#551272 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 35.0% C 0.155 H 312.6°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#551272
RGBrgb(85, 18, 114)
HSLhsl(282, 73%, 26%)
HSVhsv(282, 84%, 45%)
CMYKcmyk(25.4%, 84.2%, 0%, 55.3%)
CIE-LABlab(22.23, 44.80, -40.15)
CIE-LCHlch(22.23, 60.16, 318.13°)
OKLaboklab(34.98% 0.1047 -0.1137)
OKLCHoklch(34.98% 0.155 312.6)
XYZxyz(6.9993, 3.5790, 16.2384)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551272 #2F7212
analogous
#251272 #551272 #72125F
triadic
#551272 #725512 #127255
tetradic
#551272 #722512 #2F7212 #125F72
square
#551272 #722512 #2F7212 #125F72
split-complementary
#551272 #5F7212 #127225
monochromatic
#14041A #2E0A3D #551272 #7C1AA7 #A423DC

Accessibility & contrast

On white

12.24
#551272 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #551272
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551272#FFFFFF#000000##FFFFFF
##5512721.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003275
Deuteranopia (green-blind)
#013670
Tritanopia (blue-blind)
#522A43
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #551272;
/* rgb */ color: rgb(85, 18, 114);
/* oklch */ color: oklch(35.0% 0.155 312.6);
Tailwind
colors: {
  custom: {
    50: '#895a9b',
    500: '#551272',
    950: '#000000',
  },
}
SCSS
$custom: #551272;
$custom-light: #895a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#551272",
  "rgb": {
    "r": 85,
    "g": 18,
    "b": 114
  },
  "hsl": {
    "h": 281.875,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.34984,
    "c": 0.15457,
    "h": 312.6
  },
  "luminance": 0.03579
}

Semantic roles & 50–950 ramp

primary
#551272
secondary
#59A937
accent
#EF3870
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #551272

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

Preview Lab → · Contrast checker → · Palette generator →

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