#551270#551270

#551270 is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.8% C 0.153 H 313.5°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#551270
RGBrgb(85, 18, 112)
HSLhsl(283, 72%, 25%)
HSVhsv(283, 84%, 44%)
CMYKcmyk(24.1%, 83.9%, 0%, 56.1%)
CIE-LABlab(22.07, 44.37, -39.12)
CIE-LCHlch(22.07, 59.15, 318.59°)
OKLaboklab(34.82% 0.1052 -0.1107)
OKLCHoklch(34.82% 0.153 313.5)
XYZxyz(6.8867, 3.5340, 15.6454)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551270 #2D7012
analogous
#261270 #551270 #70125C
triadic
#551270 #705512 #127055
tetradic
#551270 #702612 #2D7012 #125C70
square
#551270 #702612 #2D7012 #125C70
split-complementary
#551270 #5C7012 #127026
monochromatic
#14041A #2D0A3B #551270 #7D1AA5 #A523D9

Accessibility & contrast

On white

12.30
#551270 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#551270 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551270
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551270#FFFFFF#000000##FFFFFF
##5512701.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003172
Deuteranopia (green-blind)
#05366E
Tritanopia (blue-blind)
#522942
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #551270;
/* rgb */ color: rgb(85, 18, 112);
/* oklch */ color: oklch(34.8% 0.153 313.5);
Tailwind
colors: {
  custom: {
    50: '#895a9a',
    500: '#551270',
    950: '#000000',
  },
}
SCSS
$custom: #551270;
$custom-light: #895a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#551270",
  "rgb": {
    "r": 85,
    "g": 18,
    "b": 112
  },
  "hsl": {
    "h": 282.766,
    "s": 72.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.3482,
    "c": 0.15267,
    "h": 313.5
  },
  "luminance": 0.03534
}

Semantic roles & 50–950 ramp

primary
#551270
secondary
#57A737
accent
#EF396D
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #551270

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

Preview Lab → · Contrast checker → · Palette generator →

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