#552897#552897

#552897 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.4% C 0.169 H 296.5°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#552897
RGBrgb(85, 40, 151)
HSLhsl(264, 58%, 37%)
HSVhsv(264, 74%, 59%)
CMYKcmyk(43.7%, 73.5%, 0%, 40.8%)
CIE-LABlab(28.60, 44.51, -53.01)
CIE-LCHlch(28.60, 69.22, 310.02°)
OKLaboklab(40.43% 0.0756 -0.1517)
OKLCHoklch(40.43% 0.169 296.5)
XYZxyz(10.0895, 5.6830, 29.8375)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552897 #6A9728
analogous
#283397 #552897 #8C2897
triadic
#552897 #975528 #289755
tetradic
#552897 #972833 #6A9728 #28978C
square
#552897 #972833 #6A9728 #28978C
split-complementary
#552897 #978C28 #339728
monochromatic
#1F0E36 #3A1B67 #552897 #7035C7 #9264D6

Accessibility & contrast

On white

9.83
#552897 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#552897 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552897
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552897#FFFFFF#000000##FFFFFF
##5528971.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449A
Deuteranopia (green-blind)
#004295
Tritanopia (blue-blind)
#44445D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #552897;
/* rgb */ color: rgb(85, 40, 151);
/* oklch */ color: oklch(40.4% 0.169 296.5);
Tailwind
colors: {
  custom: {
    50: '#8b66b6',
    500: '#552897',
    950: '#000000',
  },
}
SCSS
$custom: #552897;
$custom-light: #8b66b6;
$custom-dark: #000000;
JSON
{
  "hex": "#552897",
  "rgb": {
    "r": 85,
    "g": 40,
    "b": 151
  },
  "hsl": {
    "h": 264.324,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40431,
    "c": 0.16947,
    "h": 296.5
  },
  "luminance": 0.05683
}

Semantic roles & 50–950 ramp

primary
#552897
secondary
#96BC5F
accent
#E146A3
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0611
muted
#7D7A80

Preview Lab

Preview with #552897

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

Preview Lab → · Contrast checker → · Palette generator →

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