#552285#552285

#552285 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.2% C 0.156 H 303.1°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#552285
RGBrgb(85, 34, 133)
HSLhsl(271, 59%, 33%)
HSVhsv(271, 74%, 52%)
CMYKcmyk(36.1%, 74.4%, 0%, 47.8%)
CIE-LABlab(26.07, 42.72, -45.99)
CIE-LCHlch(26.07, 62.77, 312.89°)
OKLaboklab(38.17% 0.0854 -0.131)
OKLCHoklch(38.17% 0.156 303.1)
XYZxyz(8.5510, 4.7688, 22.6557)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552285 #528522
analogous
#242285 #552285 #852283
triadic
#552285 #855522 #228555
tetradic
#552285 #852422 #528522 #228385
square
#552285 #852422 #528522 #228385
split-complementary
#552285 #838522 #228524
monochromatic
#170924 #361654 #552285 #742EB6 #934FD2

Accessibility & contrast

On white

10.75
#552285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #552285
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552285#FFFFFF#000000##FFFFFF
##5522851.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D88
Deuteranopia (green-blind)
#003D83
Tritanopia (blue-blind)
#4B3A51
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #552285;
/* rgb */ color: rgb(85, 34, 133);
/* oklch */ color: oklch(38.2% 0.156 303.1);
Tailwind
colors: {
  custom: {
    50: '#8a62a9',
    500: '#552285',
    950: '#000000',
  },
}
SCSS
$custom: #552285;
$custom-light: #8a62a9;
$custom-dark: #000000;
JSON
{
  "hex": "#552285",
  "rgb": {
    "r": 85,
    "g": 34,
    "b": 133
  },
  "hsl": {
    "h": 270.909,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.3817,
    "c": 0.15636,
    "h": 303.1
  },
  "luminance": 0.04769
}

Semantic roles & 50–950 ramp

primary
#552285
secondary
#80B64D
accent
#E24592
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0510
muted
#7D7A7F

Preview Lab

Preview with #552285

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

Preview Lab → · Contrast checker → · Palette generator →

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