#552186#552186

#552186 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.1% C 0.159 H 302.9°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#552186
RGBrgb(85, 33, 134)
HSLhsl(271, 60%, 33%)
HSVhsv(271, 75%, 53%)
CMYKcmyk(36.6%, 75.4%, 0%, 47.5%)
CIE-LABlab(25.98, 43.45, -46.75)
CIE-LCHlch(25.98, 63.82, 312.90°)
OKLaboklab(38.14% 0.0862 -0.1332)
OKLCHoklch(38.14% 0.159 302.9)
XYZxyz(8.5922, 4.7402, 23.0119)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552186 #528621
analogous
#222186 #552186 #862184
triadic
#552186 #865521 #218655
tetradic
#552186 #862221 #528621 #218486
square
#552186 #862221 #528621 #218486
split-complementary
#552186 #848621 #218622
monochromatic
#170924 #361555 #552186 #742DB7 #934ED3

Accessibility & contrast

On white

10.78
#552186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #552186
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552186#FFFFFF#000000##FFFFFF
##5521861.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #552186;
/* rgb */ color: rgb(85, 33, 134);
/* oklch */ color: oklch(38.1% 0.159 302.9);
Tailwind
colors: {
  custom: {
    50: '#8a62aa',
    500: '#552186',
    950: '#000000',
  },
}
SCSS
$custom: #552186;
$custom-light: #8a62aa;
$custom-dark: #000000;
JSON
{
  "hex": "#552186",
  "rgb": {
    "r": 85,
    "g": 33,
    "b": 134
  },
  "hsl": {
    "h": 270.891,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.38136,
    "c": 0.15868,
    "h": 302.9
  },
  "luminance": 0.0474
}

Semantic roles & 50–950 ramp

primary
#552186
secondary
#80B74C
accent
#E44492
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0510
muted
#7D7A7F

Preview Lab

Preview with #552186

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

Preview Lab → · Contrast checker → · Palette generator →

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