#552180#552180

#552180 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.6% C 0.152 H 305.1°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#552180
RGBrgb(85, 33, 128)
HSLhsl(273, 59%, 32%)
HSVhsv(273, 74%, 50%)
CMYKcmyk(33.6%, 74.2%, 0%, 49.8%)
CIE-LABlab(25.50, 41.94, -43.77)
CIE-LCHlch(25.50, 60.62, 313.78°)
OKLaboklab(37.64% 0.0874 -0.1244)
OKLCHoklch(37.64% 0.152 305.1)
XYZxyz(8.1856, 4.5776, 20.8702)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552180 #4C8021
analogous
#262180 #552180 #80217C
triadic
#552180 #805521 #218055
tetradic
#552180 #802621 #4C8021 #217C80
square
#552180 #802621 #4C8021 #217C80
split-complementary
#552180 #7C8021 #218026
monochromatic
#14081F #35144F #552180 #752EB1 #944BD1

Accessibility & contrast

On white

10.96
#552180 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#552180 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552180
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552180#FFFFFF#000000##FFFFFF
##5521801.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B83
Deuteranopia (green-blind)
#003C7E
Tritanopia (blue-blind)
#4D384E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #552180;
/* rgb */ color: rgb(85, 33, 128);
/* oklch */ color: oklch(37.6% 0.152 305.1);
Tailwind
colors: {
  custom: {
    50: '#8961a6',
    500: '#552180',
    950: '#000000',
  },
}
SCSS
$custom: #552180;
$custom-light: #8961a6;
$custom-dark: #000000;
JSON
{
  "hex": "#552180",
  "rgb": {
    "r": 85,
    "g": 33,
    "b": 128
  },
  "hsl": {
    "h": 272.842,
    "s": 59.006,
    "l": 31.569
  },
  "oklch": {
    "l": 0.3764,
    "c": 0.15209,
    "h": 305.1
  },
  "luminance": 0.04578
}

Semantic roles & 50–950 ramp

primary
#552180
secondary
#79B34A
accent
#E2468C
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #552180

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

Preview Lab → · Contrast checker → · Palette generator →

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