#552386#552386

#552386 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.4% C 0.156 H 302.6°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#552386
RGBrgb(85, 35, 134)
HSLhsl(270, 59%, 33%)
HSVhsv(270, 74%, 53%)
CMYKcmyk(36.6%, 73.9%, 0%, 47.5%)
CIE-LABlab(26.32, 42.50, -46.21)
CIE-LCHlch(26.32, 62.78, 312.61°)
OKLaboklab(38.37% 0.0842 -0.1316)
OKLCHoklch(38.37% 0.156 302.6)
XYZxyz(8.6494, 4.8546, 23.0310)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552386 #548623
analogous
#232386 #552386 #862385
triadic
#552386 #865523 #238655
tetradic
#552386 #862323 #548623 #238586
square
#552386 #862323 #548623 #238586
split-complementary
#552386 #858623 #238623
monochromatic
#170A25 #361655 #552386 #7430B7 #9252D2

Accessibility & contrast

On white

10.65
#552386 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#552386 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552386
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552386#FFFFFF#000000##FFFFFF
##5523861.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #552386;
/* rgb */ color: rgb(85, 35, 134);
/* oklch */ color: oklch(38.4% 0.156 302.6);
Tailwind
colors: {
  custom: {
    50: '#8a63aa',
    500: '#552386',
    950: '#000000',
  },
}
SCSS
$custom: #552386;
$custom-light: #8a63aa;
$custom-dark: #000000;
JSON
{
  "hex": "#552386",
  "rgb": {
    "r": 85,
    "g": 35,
    "b": 134
  },
  "hsl": {
    "h": 270.303,
    "s": 58.58,
    "l": 33.137
  },
  "oklch": {
    "l": 0.38374,
    "c": 0.15624,
    "h": 302.6
  },
  "luminance": 0.04855
}

Semantic roles & 50–950 ramp

primary
#552386
secondary
#82B54F
accent
#E24693
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0510
muted
#7D7A7F

Preview Lab

Preview with #552386

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

Preview Lab → · Contrast checker → · Palette generator →

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