#552173#552173

#552173 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.6% C 0.138 H 310.4°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#552173
RGBrgb(85, 33, 115)
HSLhsl(278, 55%, 29%)
HSVhsv(278, 71%, 45%)
CMYKcmyk(26.1%, 71.3%, 0%, 54.9%)
CIE-LABlab(24.50, 38.76, -37.11)
CIE-LCHlch(24.50, 53.67, 316.25°)
OKLaboklab(36.62% 0.0893 -0.1049)
OKLCHoklch(36.62% 0.138 310.4)
XYZxyz(7.3841, 4.2570, 16.6490)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552173 #3F7321
analogous
#2C2173 #552173 #732168
triadic
#552173 #735521 #217355
tetradic
#552173 #732C21 #3F7321 #216873
square
#552173 #732C21 #3F7321 #216873
split-complementary
#552173 #687321 #21732C
monochromatic
#120718 #321343 #552173 #782FA3 #9945CA

Accessibility & contrast

On white

11.34
#552173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#552173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552173
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552173#FFFFFF#000000##FFFFFF
##5521731.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003875
Deuteranopia (green-blind)
#153B71
Tritanopia (blue-blind)
#513247
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #552173;
/* rgb */ color: rgb(85, 33, 115);
/* oklch */ color: oklch(36.6% 0.138 310.4);
Tailwind
colors: {
  custom: {
    50: '#88619c',
    500: '#552173',
    950: '#000000',
  },
}
SCSS
$custom: #552173;
$custom-light: #88619c;
$custom-dark: #000000;
JSON
{
  "hex": "#552173",
  "rgb": {
    "r": 85,
    "g": 33,
    "b": 115
  },
  "hsl": {
    "h": 278.049,
    "s": 55.405,
    "l": 29.02
  },
  "oklch": {
    "l": 0.36619,
    "c": 0.13777,
    "h": 310.4
  },
  "luminance": 0.04257
}

Semantic roles & 50–950 ramp

primary
#552173
secondary
#6BA649
accent
#DF4980
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #552173

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

Preview Lab → · Contrast checker → · Palette generator →

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