#551779#551779

#551779 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.0% C 0.156 H 309.2°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#551779
RGBrgb(85, 23, 121)
HSLhsl(278, 68%, 28%)
HSVhsv(278, 81%, 47%)
CMYKcmyk(29.8%, 81%, 0%, 52.5%)
CIE-LABlab(23.42, 44.57, -42.70)
CIE-LCHlch(23.42, 61.73, 316.23°)
OKLaboklab(36% 0.0988 -0.1212)
OKLCHoklch(36% 0.156 309.2)
XYZxyz(7.5032, 3.9247, 18.4477)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551779 #3B7917
analogous
#241779 #551779 #79176C
triadic
#551779 #795517 #177955
tetradic
#551779 #792417 #3B7917 #176C79
square
#551779 #792417 #3B7917 #176C79
split-complementary
#551779 #6C7917 #177924
monochromatic
#12051A #310D46 #551779 #7921AC #9B32D8

Accessibility & contrast

On white

11.76
#551779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #551779
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551779#FFFFFF#000000##FFFFFF
##5517791.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357C
Deuteranopia (green-blind)
#003977
Tritanopia (blue-blind)
#503048
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #551779;
/* rgb */ color: rgb(85, 23, 121);
/* oklch */ color: oklch(36.0% 0.156 309.2);
Tailwind
colors: {
  custom: {
    50: '#895ca0',
    500: '#551779',
    950: '#000000',
  },
}
SCSS
$custom: #551779;
$custom-light: #895ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#551779",
  "rgb": {
    "r": 85,
    "g": 23,
    "b": 121
  },
  "hsl": {
    "h": 277.959,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.35999,
    "c": 0.15637,
    "h": 309.2
  },
  "luminance": 0.03925
}

Semantic roles & 50–950 ramp

primary
#551779
secondary
#67AE3E
accent
#EB3D7D
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040F
muted
#7D797E

Preview Lab

Preview with #551779

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

Preview Lab → · Contrast checker → · Palette generator →

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