#551273#551273

#551273 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 35.1% C 0.156 H 312.2°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#551273
RGBrgb(85, 18, 115)
HSLhsl(281, 73%, 26%)
HSVhsv(281, 84%, 45%)
CMYKcmyk(26.1%, 84.3%, 0%, 54.9%)
CIE-LABlab(22.31, 45.02, -40.66)
CIE-LCHlch(22.31, 60.67, 317.91°)
OKLaboklab(35.07% 0.1045 -0.1152)
OKLCHoklch(35.07% 0.156 312.2)
XYZxyz(7.0566, 3.6019, 16.5398)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551273 #307312
analogous
#241273 #551273 #731260
triadic
#551273 #735512 #127355
tetradic
#551273 #732412 #307312 #126073
square
#551273 #732412 #307312 #126073
split-complementary
#551273 #607312 #127324
monochromatic
#14041A #2E0A3E #551273 #7C1AA8 #A323DD

Accessibility & contrast

On white

12.21
#551273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #551273
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551273#FFFFFF#000000##FFFFFF
##5512731.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003276
Deuteranopia (green-blind)
#003771
Tritanopia (blue-blind)
#512B43
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #551273;
/* rgb */ color: rgb(85, 18, 115);
/* oklch */ color: oklch(35.1% 0.156 312.2);
Tailwind
colors: {
  custom: {
    50: '#895a9c',
    500: '#551273',
    950: '#000000',
  },
}
SCSS
$custom: #551273;
$custom-light: #895a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#551273",
  "rgb": {
    "r": 85,
    "g": 18,
    "b": 115
  },
  "hsl": {
    "h": 281.443,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.35066,
    "c": 0.15551,
    "h": 312.2
  },
  "luminance": 0.03602
}

Semantic roles & 50–950 ramp

primary
#551273
secondary
#5BAA37
accent
#F03871
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #551273

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

Preview Lab → · Contrast checker → · Palette generator →

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