#551979#551979

#551979 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.154 H 308.9°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#551979
RGBrgb(85, 25, 121)
HSLhsl(278, 66%, 29%)
HSVhsv(278, 79%, 47%)
CMYKcmyk(29.8%, 79.3%, 0%, 52.5%)
CIE-LABlab(23.70, 43.78, -42.26)
CIE-LCHlch(23.70, 60.85, 316.02°)
OKLaboklab(36.19% 0.0969 -0.1199)
OKLCHoklch(36.19% 0.154 308.9)
XYZxyz(7.5444, 4.0072, 18.4615)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551979 #3D7919
analogous
#251979 #551979 #79196D
triadic
#551979 #795519 #197955
tetradic
#551979 #792519 #3D7919 #196D79
square
#551979 #792519 #3D7919 #196D79
split-complementary
#551979 #6D7919 #197925
monochromatic
#120519 #310F46 #551979 #7923AC #9A37D6

Accessibility & contrast

On white

11.66
#551979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #551979
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551979#FFFFFF#000000##FFFFFF
##5519791.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #551979;
/* rgb */ color: rgb(85, 25, 121);
/* oklch */ color: oklch(36.2% 0.154 308.9);
Tailwind
colors: {
  custom: {
    50: '#895da0',
    500: '#551979',
    950: '#000000',
  },
}
SCSS
$custom: #551979;
$custom-light: #895da0;
$custom-dark: #000000;
JSON
{
  "hex": "#551979",
  "rgb": {
    "r": 85,
    "g": 25,
    "b": 121
  },
  "hsl": {
    "h": 277.5,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.36191,
    "c": 0.15421,
    "h": 308.9
  },
  "luminance": 0.04007
}

Semantic roles & 50–950 ramp

primary
#551979
secondary
#69AE40
accent
#E93F7F
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050F
muted
#7D797E

Preview Lab

Preview with #551979

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

Preview Lab → · Contrast checker → · Palette generator →

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