#552170#552170

#552170 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.4% C 0.134 H 311.8°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#552170
RGBrgb(85, 33, 112)
HSLhsl(279, 54%, 28%)
HSVhsv(279, 71%, 44%)
CMYKcmyk(24.1%, 70.5%, 0%, 56.1%)
CIE-LABlab(24.29, 38.05, -35.54)
CIE-LCHlch(24.29, 52.07, 316.96°)
OKLaboklab(36.39% 0.0896 -0.1003)
OKLCHoklch(36.39% 0.134 311.8)
XYZxyz(7.2143, 4.1890, 15.7546)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552170 #3C7021
analogous
#2D2170 #552170 #702163
triadic
#552170 #705521 #217055
tetradic
#552170 #702D21 #3C7021 #216370
square
#552170 #702D21 #3C7021 #216370
split-complementary
#552170 #637021 #21702D
monochromatic
#120718 #311341 #552170 #792F9F #9B44C8

Accessibility & contrast

On white

11.43
#552170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#552170 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552170
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552170#FFFFFF#000000##FFFFFF
##5521701.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003772
Deuteranopia (green-blind)
#193B6E
Tritanopia (blue-blind)
#523145
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #552170;
/* rgb */ color: rgb(85, 33, 112);
/* oklch */ color: oklch(36.4% 0.134 311.8);
Tailwind
colors: {
  custom: {
    50: '#88619a',
    500: '#552170',
    950: '#000000',
  },
}
SCSS
$custom: #552170;
$custom-light: #88619a;
$custom-dark: #000000;
JSON
{
  "hex": "#552170",
  "rgb": {
    "r": 85,
    "g": 33,
    "b": 112
  },
  "hsl": {
    "h": 279.494,
    "s": 54.483,
    "l": 28.431
  },
  "oklch": {
    "l": 0.36395,
    "c": 0.13448,
    "h": 311.8
  },
  "luminance": 0.04189
}

Semantic roles & 50–950 ramp

primary
#552170
secondary
#68A449
accent
#DE4A7D
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #552170

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

Preview Lab → · Contrast checker → · Palette generator →

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