#552894#552894

#552894 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.2% C 0.166 H 297.3°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#552894
RGBrgb(85, 40, 148)
HSLhsl(265, 57%, 37%)
HSVhsv(265, 73%, 58%)
CMYKcmyk(42.6%, 73%, 0%, 42%)
CIE-LABlab(28.35, 43.71, -51.58)
CIE-LCHlch(28.35, 67.61, 310.27°)
OKLaboklab(40.17% 0.0763 -0.1475)
OKLCHoklch(40.17% 0.166 297.3)
XYZxyz(9.8490, 5.5868, 28.5707)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552894 #679428
analogous
#283194 #552894 #8B2894
triadic
#552894 #945528 #289455
tetradic
#552894 #942831 #679428 #28948B
square
#552894 #942831 #679428 #28948B
split-complementary
#552894 #948B28 #319428
monochromatic
#1E0E34 #391B64 #552894 #7135C4 #9262D5

Accessibility & contrast

On white

9.92
#552894 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#552894 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552894
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552894#FFFFFF#000000##FFFFFF
##5528941.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004397
Deuteranopia (green-blind)
#004292
Tritanopia (blue-blind)
#45435B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #552894;
/* rgb */ color: rgb(85, 40, 148);
/* oklch */ color: oklch(40.2% 0.166 297.3);
Tailwind
colors: {
  custom: {
    50: '#8b66b4',
    500: '#552894',
    950: '#000000',
  },
}
SCSS
$custom: #552894;
$custom-light: #8b66b4;
$custom-dark: #000000;
JSON
{
  "hex": "#552894",
  "rgb": {
    "r": 85,
    "g": 40,
    "b": 148
  },
  "hsl": {
    "h": 265,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40173,
    "c": 0.16601,
    "h": 297.3
  },
  "luminance": 0.05587
}

Semantic roles & 50–950 ramp

primary
#552894
secondary
#94BA5E
accent
#E147A1
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #552894

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

Preview Lab → · Contrast checker → · Palette generator →

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