#551978#551978

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

Color values

HEX#551978
RGBrgb(85, 25, 120)
HSLhsl(278, 66%, 28%)
HSVhsv(278, 79%, 47%)
CMYKcmyk(29.2%, 79.2%, 0%, 52.9%)
CIE-LABlab(23.61, 43.55, -41.75)
CIE-LCHlch(23.61, 60.33, 316.21°)
OKLaboklab(36.11% 0.0971 -0.1185)
OKLCHoklch(36.11% 0.153 309.3)
XYZxyz(7.4834, 3.9828, 18.1402)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551978 #3C7819
analogous
#261978 #551978 #78196B
triadic
#551978 #785519 #197855
tetradic
#551978 #782619 #3C7819 #196B78
square
#551978 #782619 #3C7819 #196B78
split-complementary
#551978 #6B7819 #197826
monochromatic
#120519 #310E45 #551978 #7924AB #9B36D5

Accessibility & contrast

On white

11.69
#551978 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#551978 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551978
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551978#FFFFFF#000000##FFFFFF
##5519781.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367B
Deuteranopia (green-blind)
#003976
Tritanopia (blue-blind)
#503048
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #551978;
/* rgb */ color: rgb(85, 25, 120);
/* oklch */ color: oklch(36.1% 0.153 309.3);
Tailwind
colors: {
  custom: {
    50: '#895da0',
    500: '#551978',
    950: '#000000',
  },
}
SCSS
$custom: #551978;
$custom-light: #895da0;
$custom-dark: #000000;
JSON
{
  "hex": "#551978",
  "rgb": {
    "r": 85,
    "g": 25,
    "b": 120
  },
  "hsl": {
    "h": 277.895,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.36109,
    "c": 0.15318,
    "h": 309.3
  },
  "luminance": 0.03983
}

Semantic roles & 50–950 ramp

primary
#551978
secondary
#68AD40
accent
#E83F7E
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040F
muted
#7D797E

Preview Lab

Preview with #551978

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

Preview Lab → · Contrast checker → · Palette generator →

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