#551988#551988

#551988 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.5% C 0.170 H 303.3°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#551988
RGBrgb(85, 25, 136)
HSLhsl(272, 69%, 32%)
HSVhsv(272, 82%, 53%)
CMYKcmyk(37.5%, 81.6%, 0%, 46.7%)
CIE-LABlab(24.96, 47.35, -49.66)
CIE-LCHlch(24.96, 68.61, 313.63°)
OKLaboklab(37.48% 0.093 -0.1417)
OKLCHoklch(37.48% 0.17 303.3)
XYZxyz(8.5368, 4.4041, 23.6881)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551988 #4C8819
analogous
#1D1988 #551988 #881984
triadic
#551988 #885519 #198855
tetradic
#551988 #881D19 #4C8819 #198488
square
#551988 #881D19 #4C8819 #198488
split-complementary
#551988 #848819 #19881D
monochromatic
#140621 #350F54 #551988 #7523BC #9440DC

Accessibility & contrast

On white

11.17
#551988 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#551988 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551988
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551988#FFFFFF#000000##FFFFFF
##5519881.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8B
Deuteranopia (green-blind)
#003B86
Tritanopia (blue-blind)
#4A3751
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #551988;
/* rgb */ color: rgb(85, 25, 136);
/* oklch */ color: oklch(37.5% 0.170 303.3);
Tailwind
colors: {
  custom: {
    50: '#8a5eac',
    500: '#551988',
    950: '#000000',
  },
}
SCSS
$custom: #551988;
$custom-light: #8a5eac;
$custom-dark: #000000;
JSON
{
  "hex": "#551988",
  "rgb": {
    "r": 85,
    "g": 25,
    "b": 136
  },
  "hsl": {
    "h": 272.432,
    "s": 68.944,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37476,
    "c": 0.1695,
    "h": 303.3
  },
  "luminance": 0.04404
}

Semantic roles & 50–950 ramp

primary
#551988
secondary
#79BB41
accent
#EC3C8D
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #551988

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

Preview Lab → · Contrast checker → · Palette generator →

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