#552899#552899

#552899 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.6% C 0.172 H 296.0°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#552899
RGBrgb(85, 40, 153)
HSLhsl(264, 59%, 38%)
HSVhsv(264, 74%, 60%)
CMYKcmyk(44.4%, 73.9%, 0%, 40%)
CIE-LABlab(28.77, 45.05, -53.96)
CIE-LCHlch(28.77, 70.29, 309.86°)
OKLaboklab(40.61% 0.0752 -0.1544)
OKLCHoklch(40.61% 0.172 296)
XYZxyz(10.2533, 5.7486, 30.7002)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552899 #6C9928
analogous
#283399 #552899 #8D2899
triadic
#552899 #995528 #289955
tetradic
#552899 #992833 #6C9928 #28998D
square
#552899 #992833 #6C9928 #28998D
split-complementary
#552899 #998D28 #339928
monochromatic
#1F0F38 #3A1B68 #552899 #7035CA #9265D7

Accessibility & contrast

On white

9.77
#552899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#552899 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552899
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552899#FFFFFF#000000##FFFFFF
##5528991.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#004297
Tritanopia (blue-blind)
#43455E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #552899;
/* rgb */ color: rgb(85, 40, 153);
/* oklch */ color: oklch(40.6% 0.172 296.0);
Tailwind
colors: {
  custom: {
    50: '#8b66b8',
    500: '#552899',
    950: '#000000',
  },
}
SCSS
$custom: #552899;
$custom-light: #8b66b8;
$custom-dark: #000000;
JSON
{
  "hex": "#552899",
  "rgb": {
    "r": 85,
    "g": 40,
    "b": 153
  },
  "hsl": {
    "h": 263.894,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40605,
    "c": 0.17177,
    "h": 296
  },
  "luminance": 0.05749
}

Semantic roles & 50–950 ramp

primary
#552899
secondary
#98BD60
accent
#E246A4
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #552899

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

Preview Lab → · Contrast checker → · Palette generator →

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