#552872#552872

#552872 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.5% C 0.126 H 309.7°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#552872
RGBrgb(85, 40, 114)
HSLhsl(276, 48%, 30%)
HSVhsv(276, 65%, 45%)
CMYKcmyk(25.4%, 64.9%, 0%, 55.3%)
CIE-LABlab(25.75, 34.88, -34.46)
CIE-LCHlch(25.75, 49.03, 315.34°)
OKLaboklab(37.5% 0.0805 -0.0971)
OKLCHoklch(37.5% 0.126 309.7)
XYZxyz(7.5418, 4.6639, 16.4193)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552872 #457228
analogous
#302872 #552872 #72286A
triadic
#552872 #725528 #287255
tetradic
#552872 #723028 #457228 #286A72
square
#552872 #723028 #457228 #286A72
split-complementary
#552872 #6A7228 #287230
monochromatic
#110817 #331845 #552872 #77389F #9652C2

Accessibility & contrast

On white

10.87
#552872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#552872 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552872
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552872#FFFFFF#000000##FFFFFF
##5528721.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063B74
Deuteranopia (green-blind)
#1E3E70
Tritanopia (blue-blind)
#513649
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #552872;
/* rgb */ color: rgb(85, 40, 114);
/* oklch */ color: oklch(37.5% 0.126 309.7);
Tailwind
colors: {
  custom: {
    50: '#88659b',
    500: '#552872',
    950: '#000000',
  },
}
SCSS
$custom: #552872;
$custom-light: #88659b;
$custom-dark: #000000;
JSON
{
  "hex": "#552872",
  "rgb": {
    "r": 85,
    "g": 40,
    "b": 114
  },
  "hsl": {
    "h": 276.486,
    "s": 48.052,
    "l": 30.196
  },
  "oklch": {
    "l": 0.37499,
    "c": 0.12619,
    "h": 309.7
  },
  "luminance": 0.04664
}

Semantic roles & 50–950 ramp

primary
#552872
secondary
#72A452
accent
#D85085
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060E
muted
#7D7A7E

Preview Lab

Preview with #552872

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

Preview Lab → · Contrast checker → · Palette generator →

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