#551275#551275

#551275 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 35.2% C 0.157 H 311.3°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#551275
RGBrgb(85, 18, 117)
HSLhsl(281, 73%, 26%)
HSVhsv(281, 85%, 46%)
CMYKcmyk(27.4%, 84.6%, 0%, 54.1%)
CIE-LABlab(22.47, 45.46, -41.68)
CIE-LCHlch(22.47, 61.68, 317.48°)
OKLaboklab(35.23% 0.104 -0.1182)
OKLCHoklch(35.23% 0.157 311.3)
XYZxyz(7.1729, 3.6485, 17.1525)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551275 #327512
analogous
#241275 #551275 #751264
triadic
#551275 #755512 #127555
tetradic
#551275 #752412 #327512 #126475
square
#551275 #752412 #327512 #126475
split-complementary
#551275 #647512 #127524
monochromatic
#13041B #2E0A40 #551275 #7C1AAA #A124DD

Accessibility & contrast

On white

12.14
#551275 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #551275
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551275#FFFFFF#000000##FFFFFF
##5512751.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003378
Deuteranopia (green-blind)
#003773
Tritanopia (blue-blind)
#512C45
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #551275;
/* rgb */ color: rgb(85, 18, 117);
/* oklch */ color: oklch(35.2% 0.157 311.3);
Tailwind
colors: {
  custom: {
    50: '#895a9d',
    500: '#551275',
    950: '#000000',
  },
}
SCSS
$custom: #551275;
$custom-light: #895a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#551275",
  "rgb": {
    "r": 85,
    "g": 18,
    "b": 117
  },
  "hsl": {
    "h": 280.606,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.35232,
    "c": 0.15741,
    "h": 311.3
  },
  "luminance": 0.03648
}

Semantic roles & 50–950 ramp

primary
#551275
secondary
#5DAC37
accent
#F03873
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #551275

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

Preview Lab → · Contrast checker → · Palette generator →

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