#551474#551474

#551474 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.3% C 0.155 H 311.6°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#551474
RGBrgb(85, 20, 116)
HSLhsl(281, 71%, 27%)
HSVhsv(281, 83%, 45%)
CMYKcmyk(26.7%, 82.8%, 0%, 54.5%)
CIE-LABlab(22.63, 44.55, -40.79)
CIE-LCHlch(22.63, 60.40, 317.52°)
OKLaboklab(35.32% 0.1026 -0.1156)
OKLCHoklch(35.32% 0.155 311.6)
XYZxyz(7.1483, 3.6928, 16.8558)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551474 #337414
analogous
#251474 #551474 #741463
triadic
#551474 #745514 #147455
tetradic
#551474 #742514 #337414 #146374
square
#551474 #742514 #337414 #146374
split-complementary
#551474 #637414 #147425
monochromatic
#13051A #2F0B40 #551474 #7B1DA8 #A128DA

Accessibility & contrast

On white

12.08
#551474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#551474 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551474
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551474#FFFFFF#000000##FFFFFF
##5514741.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003377
Deuteranopia (green-blind)
#003772
Tritanopia (blue-blind)
#512C44
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #551474;
/* rgb */ color: rgb(85, 20, 116);
/* oklch */ color: oklch(35.3% 0.155 311.6);
Tailwind
colors: {
  custom: {
    50: '#895b9d',
    500: '#551474',
    950: '#000000',
  },
}
SCSS
$custom: #551474;
$custom-light: #895b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#551474",
  "rgb": {
    "r": 85,
    "g": 20,
    "b": 116
  },
  "hsl": {
    "h": 280.625,
    "s": 70.588,
    "l": 26.667
  },
  "oklch": {
    "l": 0.35315,
    "c": 0.15452,
    "h": 311.6
  },
  "luminance": 0.03693
}

Semantic roles & 50–950 ramp

primary
#551474
secondary
#5EAA3A
accent
#ED3A74
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #551474

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

Preview Lab → · Contrast checker → · Palette generator →

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