#552686#552686

#552686 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.7% C 0.152 H 302.1°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#552686
RGBrgb(85, 38, 134)
HSLhsl(269, 56%, 34%)
HSVhsv(269, 72%, 53%)
CMYKcmyk(36.6%, 71.6%, 0%, 47.5%)
CIE-LABlab(26.84, 41.02, -45.35)
CIE-LCHlch(26.84, 61.15, 312.13°)
OKLaboklab(38.75% 0.081 -0.1291)
OKLCHoklch(38.75% 0.152 302.1)
XYZxyz(8.7415, 5.0387, 23.0617)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552686 #578626
analogous
#262786 #552686 #852686
triadic
#552686 #865526 #268655
tetradic
#552686 #862627 #578626 #268685
square
#552686 #862627 #578626 #268685
split-complementary
#552686 #868526 #278626
monochromatic
#190B27 #371856 #552686 #7334B6 #9257CF

Accessibility & contrast

On white

10.46
#552686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#552686 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552686
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552686#FFFFFF#000000##FFFFFF
##5526861.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #552686;
/* rgb */ color: rgb(85, 38, 134);
/* oklch */ color: oklch(38.7% 0.152 302.1);
Tailwind
colors: {
  custom: {
    50: '#8964aa',
    500: '#552686',
    950: '#000000',
  },
}
SCSS
$custom: #552686;
$custom-light: #8964aa;
$custom-dark: #000000;
JSON
{
  "hex": "#552686",
  "rgb": {
    "r": 85,
    "g": 38,
    "b": 134
  },
  "hsl": {
    "h": 269.375,
    "s": 55.814,
    "l": 33.725
  },
  "oklch": {
    "l": 0.38749,
    "c": 0.15241,
    "h": 302.1
  },
  "luminance": 0.05039
}

Semantic roles & 50–950 ramp

primary
#552686
secondary
#85B454
accent
#DF4995
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #552686

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

Preview Lab → · Contrast checker → · Palette generator →

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