#551888#551888

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

Color values

HEX#551888
RGBrgb(85, 24, 136)
HSLhsl(273, 70%, 31%)
HSVhsv(273, 82%, 53%)
CMYKcmyk(37.5%, 82.4%, 0%, 46.7%)
CIE-LABlab(24.83, 47.73, -49.87)
CIE-LCHlch(24.83, 69.03, 313.74°)
OKLaboklab(37.39% 0.0938 -0.1423)
OKLCHoklch(37.39% 0.17 303.4)
XYZxyz(8.5158, 4.3621, 23.6811)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551888 #4B8818
analogous
#1D1888 #551888 #881883
triadic
#551888 #885518 #188855
tetradic
#551888 #881D18 #4B8818 #188388
square
#551888 #881D18 #4B8818 #188388
split-complementary
#551888 #838818 #18881D
monochromatic
#140620 #340F54 #551888 #7621BC #943EDD

Accessibility & contrast

On white

11.22
#551888 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#551888 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551888
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551888#FFFFFF#000000##FFFFFF
##5518881.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.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: #551888;
/* rgb */ color: rgb(85, 24, 136);
/* oklch */ color: oklch(37.4% 0.170 303.4);
Tailwind
colors: {
  custom: {
    50: '#8a5dac',
    500: '#551888',
    950: '#000000',
  },
}
SCSS
$custom: #551888;
$custom-light: #8a5dac;
$custom-dark: #000000;
JSON
{
  "hex": "#551888",
  "rgb": {
    "r": 85,
    "g": 24,
    "b": 136
  },
  "hsl": {
    "h": 272.679,
    "s": 70,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37385,
    "c": 0.17046,
    "h": 303.4
  },
  "luminance": 0.04362
}

Semantic roles & 50–950 ramp

primary
#551888
secondary
#78BC40
accent
#ED3B8C
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #551888

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

Preview Lab → · Contrast checker → · Palette generator →

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