#552586#552586

#552586 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.6% C 0.154 H 302.3°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#552586
RGBrgb(85, 37, 134)
HSLhsl(270, 57%, 34%)
HSVhsv(270, 72%, 53%)
CMYKcmyk(36.6%, 72.4%, 0%, 47.5%)
CIE-LABlab(26.67, 41.52, -45.64)
CIE-LCHlch(26.67, 61.70, 312.29°)
OKLaboklab(38.62% 0.0821 -0.13)
OKLCHoklch(38.62% 0.154 302.3)
XYZxyz(8.7099, 4.9756, 23.0512)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552586 #568625
analogous
#252586 #552586 #852586
triadic
#552586 #865525 #258655
tetradic
#552586 #862525 #568625 #258685
square
#552586 #862525 #568625 #258685
split-complementary
#552586 #868525 #258625
monochromatic
#180B26 #371856 #552586 #7332B6 #9255D0

Accessibility & contrast

On white

10.53
#552586 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#552586 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552586
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552586#FFFFFF#000000##FFFFFF
##5525861.0010.532.0010.53
#FFFFFF10.531.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E89
Deuteranopia (green-blind)
#003F84
Tritanopia (blue-blind)
#4B3C53
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #552586;
/* rgb */ color: rgb(85, 37, 134);
/* oklch */ color: oklch(38.6% 0.154 302.3);
Tailwind
colors: {
  custom: {
    50: '#8964aa',
    500: '#552586',
    950: '#000000',
  },
}
SCSS
$custom: #552586;
$custom-light: #8964aa;
$custom-dark: #000000;
JSON
{
  "hex": "#552586",
  "rgb": {
    "r": 85,
    "g": 37,
    "b": 134
  },
  "hsl": {
    "h": 269.691,
    "s": 56.725,
    "l": 33.529
  },
  "oklch": {
    "l": 0.38621,
    "c": 0.15371,
    "h": 302.3
  },
  "luminance": 0.04976
}

Semantic roles & 50–950 ramp

primary
#552586
secondary
#84B452
accent
#E04895
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #552586

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

Preview Lab → · Contrast checker → · Palette generator →

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