#552187#552187

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

Color values

HEX#552187
RGBrgb(85, 33, 135)
HSLhsl(271, 61%, 33%)
HSVhsv(271, 76%, 53%)
CMYKcmyk(37%, 75.6%, 0%, 47.1%)
CIE-LABlab(26.06, 43.70, -47.24)
CIE-LCHlch(26.06, 64.35, 312.77°)
OKLaboklab(38.22% 0.086 -0.1346)
OKLCHoklch(38.22% 0.16 302.6)
XYZxyz(8.6623, 4.7683, 23.3810)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552187 #538721
analogous
#222187 #552187 #872186
triadic
#552187 #875521 #218755
tetradic
#552187 #872221 #538721 #218687
square
#552187 #872221 #538721 #218687
split-complementary
#552187 #868721 #218722
monochromatic
#170925 #361556 #552187 #742DB8 #934FD4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##552187#FFFFFF#000000##FFFFFF
##5521871.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)
#003D8A
Deuteranopia (green-blind)
#003D85
Tritanopia (blue-blind)
#4B3A52
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #552187;
/* rgb */ color: rgb(85, 33, 135);
/* oklch */ color: oklch(38.2% 0.160 302.6);
Tailwind
colors: {
  custom: {
    50: '#8a62ab',
    500: '#552187',
    950: '#000000',
  },
}
SCSS
$custom: #552187;
$custom-light: #8a62ab;
$custom-dark: #000000;
JSON
{
  "hex": "#552187",
  "rgb": {
    "r": 85,
    "g": 33,
    "b": 135
  },
  "hsl": {
    "h": 270.588,
    "s": 60.714,
    "l": 32.941
  },
  "oklch": {
    "l": 0.38221,
    "c": 0.15978,
    "h": 302.6
  },
  "luminance": 0.04768
}

Semantic roles & 50–950 ramp

primary
#552187
secondary
#81B74D
accent
#E44492
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0510
muted
#7D7A7F

Preview Lab

Preview with #552187

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

Preview Lab → · Contrast checker → · Palette generator →

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