#551258#551258

#551258 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.0% C 0.131 H 326.2°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#551258
RGBrgb(85, 18, 88)
HSLhsl(297, 66%, 21%)
HSVhsv(297, 80%, 35%)
CMYKcmyk(3.4%, 79.5%, 0%, 65.5%)
CIE-LABlab(20.32, 39.44, -26.16)
CIE-LCHlch(20.32, 47.33, 326.45°)
OKLaboklab(33.03% 0.1084 -0.0727)
OKLCHoklch(33.03% 0.131 326.2)
XYZxyz(5.7240, 3.0689, 9.5215)
Luminance0.0307 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551258 #155812
analogous
#321258 #551258 #581238
triadic
#551258 #585512 #125855
tetradic
#551258 #583212 #155812 #123858
square
#551258 #583212 #155812 #123858
split-complementary
#551258 #385812 #125832
monochromatic
#190519 #240825 #551258 #861C8B #B727BE

Accessibility & contrast

On white

13.01
#551258 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#551258 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551258
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551258#FFFFFF#000000##FFFFFF
##5512581.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012C5A
Deuteranopia (green-blind)
#223456
Tritanopia (blue-blind)
#571E34
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #551258;
/* rgb */ color: rgb(85, 18, 88);
/* oklch */ color: oklch(33.0% 0.131 326.2);
Tailwind
colors: {
  custom: {
    50: '#885887',
    500: '#551258',
    950: '#000000',
  },
}
SCSS
$custom: #551258;
$custom-light: #885887;
$custom-dark: #000000;
JSON
{
  "hex": "#551258",
  "rgb": {
    "r": 85,
    "g": 18,
    "b": 88
  },
  "hsl": {
    "h": 297.429,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.33028,
    "c": 0.13054,
    "h": 326.2
  },
  "luminance": 0.03068
}

Semantic roles & 50–950 ramp

primary
#551258
secondary
#399135
accent
#E93F46
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #551258

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

Preview Lab → · Contrast checker → · Palette generator →

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