#552873#552873

#552873 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.6% C 0.127 H 309.2°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#552873
RGBrgb(85, 40, 115)
HSLhsl(276, 48%, 30%)
HSVhsv(276, 65%, 45%)
CMYKcmyk(26.1%, 65.2%, 0%, 54.9%)
CIE-LABlab(25.82, 35.13, -34.99)
CIE-LCHlch(25.82, 49.58, 315.11°)
OKLaboklab(37.57% 0.0805 -0.0987)
OKLCHoklch(37.57% 0.127 309.2)
XYZxyz(7.5990, 4.6868, 16.7207)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552873 #467328
analogous
#2F2873 #552873 #73286B
triadic
#552873 #735528 #287355
tetradic
#552873 #732F28 #467328 #286B73
square
#552873 #732F28 #467328 #286B73
split-complementary
#552873 #6B7328 #28732F
monochromatic
#120818 #331846 #552873 #7738A0 #9652C3

Accessibility & contrast

On white

10.84
#552873 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#552873 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552873
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552873#FFFFFF#000000##FFFFFF
##5528731.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033B75
Deuteranopia (green-blind)
#1D3E71
Tritanopia (blue-blind)
#513749
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #552873;
/* rgb */ color: rgb(85, 40, 115);
/* oklch */ color: oklch(37.6% 0.127 309.2);
Tailwind
colors: {
  custom: {
    50: '#88659c',
    500: '#552873',
    950: '#000000',
  },
}
SCSS
$custom: #552873;
$custom-light: #88659c;
$custom-dark: #000000;
JSON
{
  "hex": "#552873",
  "rgb": {
    "r": 85,
    "g": 40,
    "b": 115
  },
  "hsl": {
    "h": 276,
    "s": 48.387,
    "l": 30.392
  },
  "oklch": {
    "l": 0.3757,
    "c": 0.12737,
    "h": 309.2
  },
  "luminance": 0.04687
}

Semantic roles & 50–950 ramp

primary
#552873
secondary
#73A552
accent
#D85086
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060E
muted
#7D7A7E

Preview Lab

Preview with #552873

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

Preview Lab → · Contrast checker → · Palette generator →

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