#551976#551976

#551976 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.9% C 0.151 H 310.2°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#551976
RGBrgb(85, 25, 118)
HSLhsl(279, 65%, 28%)
HSVhsv(279, 79%, 46%)
CMYKcmyk(28%, 78.8%, 0%, 53.7%)
CIE-LABlab(23.45, 43.09, -40.73)
CIE-LCHlch(23.45, 59.29, 316.61°)
OKLaboklab(35.95% 0.0975 -0.1155)
OKLCHoklch(35.95% 0.151 310.2)
XYZxyz(7.3633, 3.9347, 17.5076)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551976 #3A7619
analogous
#271976 #551976 #761968
triadic
#551976 #765519 #197655
tetradic
#551976 #762719 #3A7619 #196876
square
#551976 #762719 #3A7619 #196876
split-complementary
#551976 #687619 #197627
monochromatic
#120519 #310E43 #551976 #7924A8 #9C35D4

Accessibility & contrast

On white

11.75
#551976 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #551976
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551976#FFFFFF#000000##FFFFFF
##5519761.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003579
Deuteranopia (green-blind)
#013974
Tritanopia (blue-blind)
#502F47
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #551976;
/* rgb */ color: rgb(85, 25, 118);
/* oklch */ color: oklch(35.9% 0.151 310.2);
Tailwind
colors: {
  custom: {
    50: '#895d9e',
    500: '#551976',
    950: '#000000',
  },
}
SCSS
$custom: #551976;
$custom-light: #895d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#551976",
  "rgb": {
    "r": 85,
    "g": 25,
    "b": 118
  },
  "hsl": {
    "h": 278.71,
    "s": 65.035,
    "l": 28.039
  },
  "oklch": {
    "l": 0.35946,
    "c": 0.15115,
    "h": 310.2
  },
  "luminance": 0.03935
}

Semantic roles & 50–950 ramp

primary
#551976
secondary
#66AB40
accent
#E8407B
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #551976

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

Preview Lab → · Contrast checker → · Palette generator →

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