#551672#551672

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

Color values

HEX#551672
RGBrgb(85, 22, 114)
HSLhsl(281, 68%, 27%)
HSVhsv(281, 81%, 45%)
CMYKcmyk(25.4%, 80.7%, 0%, 55.3%)
CIE-LABlab(22.72, 43.36, -39.35)
CIE-LCHlch(22.72, 58.56, 317.78°)
OKLaboklab(35.33% 0.1012 -0.1114)
OKLCHoklch(35.33% 0.15 312.3)
XYZxyz(7.0699, 3.7202, 16.2620)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551672 #337216
analogous
#271672 #551672 #721661
triadic
#551672 #725516 #167255
tetradic
#551672 #722716 #337216 #166172
square
#551672 #722716 #337216 #166172
split-complementary
#551672 #617216 #167227
monochromatic
#13051A #2F0C3F #551672 #7B20A5 #A12CD6

Accessibility & contrast

On white

12.04
#551672 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #551672
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551672#FFFFFF#000000##FFFFFF
##5516721.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003375
Deuteranopia (green-blind)
#063770
Tritanopia (blue-blind)
#522C44
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #551672;
/* rgb */ color: rgb(85, 22, 114);
/* oklch */ color: oklch(35.3% 0.150 312.3);
Tailwind
colors: {
  custom: {
    50: '#895b9b',
    500: '#551672',
    950: '#000000',
  },
}
SCSS
$custom: #551672;
$custom-light: #895b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#551672",
  "rgb": {
    "r": 85,
    "g": 22,
    "b": 114
  },
  "hsl": {
    "h": 281.087,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.35332,
    "c": 0.15049,
    "h": 312.3
  },
  "luminance": 0.0372
}

Semantic roles & 50–950 ramp

primary
#551672
secondary
#5EA83C
accent
#EB3D74
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #551672

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

Preview Lab → · Contrast checker → · Palette generator →

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