#552284#552284

#552284 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.1% C 0.155 H 303.5°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#552284
RGBrgb(85, 34, 132)
HSLhsl(271, 59%, 33%)
HSVhsv(271, 74%, 52%)
CMYKcmyk(35.6%, 74.2%, 0%, 48.2%)
CIE-LABlab(25.98, 42.47, -45.49)
CIE-LCHlch(25.98, 62.24, 313.03°)
OKLaboklab(38.09% 0.0856 -0.1295)
OKLCHoklch(38.09% 0.155 303.5)
XYZxyz(8.4822, 4.7413, 22.2936)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552284 #518422
analogous
#242284 #552284 #842282
triadic
#552284 #845522 #228455
tetradic
#552284 #842422 #518422 #228284
square
#552284 #842422 #518422 #228284
split-complementary
#552284 #828422 #228424
monochromatic
#160923 #361553 #552284 #742FB5 #934FD2

Accessibility & contrast

On white

10.78
#552284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#552284 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552284
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552284#FFFFFF#000000##FFFFFF
##5522841.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C87
Deuteranopia (green-blind)
#003D82
Tritanopia (blue-blind)
#4C3A51
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #552284;
/* rgb */ color: rgb(85, 34, 132);
/* oklch */ color: oklch(38.1% 0.155 303.5);
Tailwind
colors: {
  custom: {
    50: '#8962a8',
    500: '#552284',
    950: '#000000',
  },
}
SCSS
$custom: #552284;
$custom-light: #8962a8;
$custom-dark: #000000;
JSON
{
  "hex": "#552284",
  "rgb": {
    "r": 85,
    "g": 34,
    "b": 132
  },
  "hsl": {
    "h": 271.224,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.38088,
    "c": 0.15526,
    "h": 303.5
  },
  "luminance": 0.04741
}

Semantic roles & 50–950 ramp

primary
#552284
secondary
#7FB54D
accent
#E24691
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0510
muted
#7D7A7F

Preview Lab

Preview with #552284

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

Preview Lab → · Contrast checker → · Palette generator →

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