#551879#551879

#551879 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.1% C 0.155 H 309.1°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#551879
RGBrgb(85, 24, 121)
HSLhsl(278, 67%, 28%)
HSVhsv(278, 80%, 47%)
CMYKcmyk(29.8%, 80.2%, 0%, 52.5%)
CIE-LABlab(23.56, 44.18, -42.48)
CIE-LCHlch(23.56, 61.29, 316.12°)
OKLaboklab(36.09% 0.0978 -0.1206)
OKLCHoklch(36.09% 0.155 309.1)
XYZxyz(7.5234, 3.9652, 18.4545)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551879 #3C7918
analogous
#241879 #551879 #79186C
triadic
#551879 #795518 #187955
tetradic
#551879 #792418 #3C7918 #186C79
square
#551879 #792418 #3C7918 #186C79
split-complementary
#551879 #6C7918 #187924
monochromatic
#12051A #310E46 #551879 #7922AC #9B35D7

Accessibility & contrast

On white

11.71
#551879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#551879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551879
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551879#FFFFFF#000000##FFFFFF
##5518791.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367C
Deuteranopia (green-blind)
#003977
Tritanopia (blue-blind)
#4F3048
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #551879;
/* rgb */ color: rgb(85, 24, 121);
/* oklch */ color: oklch(36.1% 0.155 309.1);
Tailwind
colors: {
  custom: {
    50: '#895da0',
    500: '#551879',
    950: '#000000',
  },
}
SCSS
$custom: #551879;
$custom-light: #895da0;
$custom-dark: #000000;
JSON
{
  "hex": "#551879",
  "rgb": {
    "r": 85,
    "g": 24,
    "b": 121
  },
  "hsl": {
    "h": 277.732,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.36094,
    "c": 0.1553,
    "h": 309.1
  },
  "luminance": 0.03965
}

Semantic roles & 50–950 ramp

primary
#551879
secondary
#68AE3F
accent
#EA3E7E
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040F
muted
#7D797E

Preview Lab

Preview with #551879

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

Preview Lab → · Contrast checker → · Palette generator →

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