#552086#552086

#552086 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.0% C 0.160 H 303.1°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#552086
RGBrgb(85, 32, 134)
HSLhsl(271, 61%, 33%)
HSVhsv(271, 76%, 53%)
CMYKcmyk(36.6%, 76.1%, 0%, 47.5%)
CIE-LABlab(25.82, 43.91, -47.01)
CIE-LCHlch(25.82, 64.33, 313.04°)
OKLaboklab(38.02% 0.0872 -0.134)
OKLCHoklch(38.02% 0.16 303.1)
XYZxyz(8.5649, 4.6855, 23.0028)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552086 #518620
analogous
#222086 #552086 #862084
triadic
#552086 #865520 #208655
tetradic
#552086 #862220 #518620 #208486
square
#552086 #862220 #518620 #208486
split-complementary
#552086 #848620 #208622
monochromatic
#160823 #361455 #552086 #742CB7 #934CD4

Accessibility & contrast

On white

10.84
#552086 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#552086 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552086
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552086#FFFFFF#000000##FFFFFF
##5520861.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C89
Deuteranopia (green-blind)
#003D84
Tritanopia (blue-blind)
#4B3951
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #552086;
/* rgb */ color: rgb(85, 32, 134);
/* oklch */ color: oklch(38.0% 0.160 303.1);
Tailwind
colors: {
  custom: {
    50: '#8a61aa',
    500: '#552086',
    950: '#000000',
  },
}
SCSS
$custom: #552086;
$custom-light: #8a61aa;
$custom-dark: #000000;
JSON
{
  "hex": "#552086",
  "rgb": {
    "r": 85,
    "g": 32,
    "b": 134
  },
  "hsl": {
    "h": 271.176,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.38022,
    "c": 0.15987,
    "h": 303.1
  },
  "luminance": 0.04686
}

Semantic roles & 50–950 ramp

primary
#552086
secondary
#7FB74B
accent
#E54391
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #552086

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

Preview Lab → · Contrast checker → · Palette generator →

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