#552891#552891

#552891 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.9% C 0.163 H 298.2°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#552891
RGBrgb(85, 40, 145)
HSLhsl(266, 57%, 36%)
HSVhsv(266, 72%, 57%)
CMYKcmyk(41.4%, 72.4%, 0%, 43.1%)
CIE-LABlab(28.10, 42.90, -50.14)
CIE-LCHlch(28.10, 65.99, 310.55°)
OKLaboklab(39.92% 0.0769 -0.1432)
OKLCHoklch(39.92% 0.163 298.2)
XYZxyz(9.6146, 5.4931, 27.3363)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552891 #649128
analogous
#283091 #552891 #8A2891
triadic
#552891 #915528 #289155
tetradic
#552891 #912830 #649128 #28918A
square
#552891 #912830 #649128 #28918A
split-complementary
#552891 #918A28 #309128
monochromatic
#1D0E31 #391B61 #552891 #7135C1 #9160D3

Accessibility & contrast

On white

10.01
#552891 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#552891 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552891
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552891#FFFFFF#000000##FFFFFF
##5528911.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004294
Deuteranopia (green-blind)
#00418F
Tritanopia (blue-blind)
#46425A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #552891;
/* rgb */ color: rgb(85, 40, 145);
/* oklch */ color: oklch(39.9% 0.163 298.2);
Tailwind
colors: {
  custom: {
    50: '#8a66b2',
    500: '#552891',
    950: '#000000',
  },
}
SCSS
$custom: #552891;
$custom-light: #8a66b2;
$custom-dark: #000000;
JSON
{
  "hex": "#552891",
  "rgb": {
    "r": 85,
    "g": 40,
    "b": 145
  },
  "hsl": {
    "h": 265.714,
    "s": 56.757,
    "l": 36.275
  },
  "oklch": {
    "l": 0.39918,
    "c": 0.16255,
    "h": 298.2
  },
  "luminance": 0.05493
}

Semantic roles & 50–950 ramp

primary
#552891
secondary
#91B95C
accent
#E0489F
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #552891

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

Preview Lab → · Contrast checker → · Palette generator →

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