#552F88#552F88

#552F88 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.2% C 0.142 H 299.6°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#552F88
RGBrgb(85, 47, 136)
HSLhsl(266, 49%, 36%)
HSVhsv(266, 65%, 53%)
CMYKcmyk(37.5%, 65.4%, 0%, 46.7%)
CIE-LABlab(28.75, 36.73, -43.51)
CIE-LCHlch(28.75, 56.93, 310.17°)
OKLaboklab(40.17% 0.0703 -0.1237)
OKLCHoklch(40.17% 0.142 299.6)
XYZxyz(9.2057, 5.7418, 23.9111)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552F88 #62882F
analogous
#2F3588 #552F88 #812F88
triadic
#552F88 #88552F #2F8855
tetradic
#552F88 #882F35 #62882F #2F8881
square
#552F88 #882F35 #62882F #2F8881
split-complementary
#552F88 #88812F #35882F
monochromatic
#1C102D #391F5B #552F88 #713FB5 #9167CA

Accessibility & contrast

On white

9.77
#552F88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#552F88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##552F88#FFFFFF#000000##FFFFFF
##552F881.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)
#00448B
Deuteranopia (green-blind)
#064386
Tritanopia (blue-blind)
#4A4357
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #552f88;
/* rgb */ color: rgb(85, 47, 136);
/* oklch */ color: oklch(40.2% 0.142 299.6);
Tailwind
colors: {
  custom: {
    50: '#896aab',
    500: '#552f88',
    950: '#000000',
  },
}
SCSS
$custom: #552f88;
$custom-light: #896aab;
$custom-dark: #000000;
JSON
{
  "hex": "#552f88",
  "rgb": {
    "r": 85,
    "g": 47,
    "b": 136
  },
  "hsl": {
    "h": 265.618,
    "s": 48.634,
    "l": 35.882
  },
  "oklch": {
    "l": 0.40167,
    "c": 0.14229,
    "h": 299.6
  },
  "luminance": 0.05742
}

Semantic roles & 50–950 ramp

primary
#552F88
secondary
#8FB161
accent
#D8509E
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #552F88

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

Preview Lab → · Contrast checker → · Palette generator →

#552F88 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva