#552286#552286

#552286 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.3% C 0.157 H 302.8°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#552286
RGBrgb(85, 34, 134)
HSLhsl(271, 60%, 33%)
HSVhsv(271, 75%, 53%)
CMYKcmyk(36.6%, 74.6%, 0%, 47.5%)
CIE-LABlab(26.15, 42.98, -46.48)
CIE-LCHlch(26.15, 63.30, 312.76°)
OKLaboklab(38.25% 0.0852 -0.1324)
OKLCHoklch(38.25% 0.157 302.8)
XYZxyz(8.6204, 4.7966, 23.0213)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552286 #538622
analogous
#232286 #552286 #862285
triadic
#552286 #865522 #228655
tetradic
#552286 #862322 #538622 #228586
square
#552286 #862322 #538622 #228586
split-complementary
#552286 #858622 #228623
monochromatic
#170924 #361655 #552286 #742EB7 #9350D3

Accessibility & contrast

On white

10.72
#552286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#552286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552286
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552286#FFFFFF#000000##FFFFFF
##5522861.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D89
Deuteranopia (green-blind)
#003E84
Tritanopia (blue-blind)
#4B3A52
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #552286;
/* rgb */ color: rgb(85, 34, 134);
/* oklch */ color: oklch(38.3% 0.157 302.8);
Tailwind
colors: {
  custom: {
    50: '#8a62aa',
    500: '#552286',
    950: '#000000',
  },
}
SCSS
$custom: #552286;
$custom-light: #8a62aa;
$custom-dark: #000000;
JSON
{
  "hex": "#552286",
  "rgb": {
    "r": 85,
    "g": 34,
    "b": 134
  },
  "hsl": {
    "h": 270.6,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.38254,
    "c": 0.15747,
    "h": 302.8
  },
  "luminance": 0.04797
}

Semantic roles & 50–950 ramp

primary
#552286
secondary
#81B64E
accent
#E34592
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0510
muted
#7D7A7F

Preview Lab

Preview with #552286

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

Preview Lab → · Contrast checker → · Palette generator →

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