#551276#551276

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

Color values

HEX#551276
RGBrgb(85, 18, 118)
HSLhsl(280, 74%, 27%)
HSVhsv(280, 85%, 46%)
CMYKcmyk(28%, 84.7%, 0%, 53.7%)
CIE-LABlab(22.56, 45.68, -42.19)
CIE-LCHlch(22.56, 62.18, 317.28°)
OKLaboklab(35.32% 0.1037 -0.1197)
OKLCHoklch(35.32% 0.158 310.9)
XYZxyz(7.2320, 3.6721, 17.4638)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551276 #337612
analogous
#231276 #551276 #761265
triadic
#551276 #765512 #127655
tetradic
#551276 #762312 #337612 #126576
square
#551276 #762312 #337612 #126576
split-complementary
#551276 #657612 #127623
monochromatic
#13041B #2F0A41 #551276 #7B1AAB #A125DE

Accessibility & contrast

On white

12.11
#551276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#551276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551276
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551276#FFFFFF#000000##FFFFFF
##5512761.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003379
Deuteranopia (green-blind)
#003774
Tritanopia (blue-blind)
#502C45
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #551276;
/* rgb */ color: rgb(85, 18, 118);
/* oklch */ color: oklch(35.3% 0.158 310.9);
Tailwind
colors: {
  custom: {
    50: '#895a9e',
    500: '#551276',
    950: '#000000',
  },
}
SCSS
$custom: #551276;
$custom-light: #895a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#551276",
  "rgb": {
    "r": 85,
    "g": 18,
    "b": 118
  },
  "hsl": {
    "h": 280.2,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.35316,
    "c": 0.15837,
    "h": 310.9
  },
  "luminance": 0.03672
}

Semantic roles & 50–950 ramp

primary
#551276
secondary
#5EAD37
accent
#F03875
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #551276

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

Preview Lab → · Contrast checker → · Palette generator →

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