#551252#551252

#551252 is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.6% C 0.125 H 329.9°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#551252
RGBrgb(85, 18, 82)
HSLhsl(303, 65%, 20%)
HSVhsv(303, 79%, 33%)
CMYKcmyk(0%, 78.8%, 3.5%, 66.7%)
CIE-LABlab(19.94, 38.32, -22.72)
CIE-LCHlch(19.94, 44.55, 329.33°)
OKLaboklab(32.63% 0.1084 -0.0627)
OKLCHoklch(32.63% 0.125 329.9)
XYZxyz(5.4856, 2.9735, 8.2660)
Luminance0.0297 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551252 #125515
analogous
#371255 #551252 #551230
triadic
#551252 #525512 #125255
tetradic
#551252 #553712 #125515 #123055
square
#551252 #553712 #125515 #123055
split-complementary
#551252 #305512 #125537
monochromatic
#190518 #220721 #551252 #881D83 #BA27B3

Accessibility & contrast

On white

13.17
#551252 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#551252 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551252
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551252#FFFFFF#000000##FFFFFF
##5512521.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2A54
Deuteranopia (green-blind)
#263350
Tritanopia (blue-blind)
#581B31
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #551252;
/* rgb */ color: rgb(85, 18, 82);
/* oklch */ color: oklch(32.6% 0.125 329.9);
Tailwind
colors: {
  custom: {
    50: '#885883',
    500: '#551252',
    950: '#000000',
  },
}
SCSS
$custom: #551252;
$custom-light: #885883;
$custom-dark: #000000;
JSON
{
  "hex": "#551252",
  "rgb": {
    "r": 85,
    "g": 18,
    "b": 82
  },
  "hsl": {
    "h": 302.687,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.32633,
    "c": 0.12528,
    "h": 329.9
  },
  "luminance": 0.02973
}

Semantic roles & 50–950 ramp

primary
#551252
secondary
#358E39
accent
#E84740
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #551252

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

Preview Lab → · Contrast checker → · Palette generator →

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