#551877#551877

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

Color values

HEX#551877
RGBrgb(85, 24, 119)
HSLhsl(279, 66%, 28%)
HSVhsv(279, 80%, 47%)
CMYKcmyk(28.6%, 79.8%, 0%, 53.3%)
CIE-LABlab(23.39, 43.72, -41.47)
CIE-LCHlch(23.39, 60.26, 316.51°)
OKLaboklab(35.93% 0.0983 -0.1176)
OKLCHoklch(35.93% 0.153 309.9)
XYZxyz(7.4021, 3.9166, 17.8152)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551877 #3A7718
analogous
#251877 #551877 #771869
triadic
#551877 #775518 #187755
tetradic
#551877 #772518 #3A7718 #186977
square
#551877 #772518 #3A7718 #186977
split-complementary
#551877 #697718 #187725
monochromatic
#120519 #310E44 #551877 #7922AA #9C33D6

Accessibility & contrast

On white

11.78
#551877 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#551877 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551877
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551877#FFFFFF#000000##FFFFFF
##5518771.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357A
Deuteranopia (green-blind)
#003975
Tritanopia (blue-blind)
#502F47
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #551877;
/* rgb */ color: rgb(85, 24, 119);
/* oklch */ color: oklch(35.9% 0.153 309.9);
Tailwind
colors: {
  custom: {
    50: '#895c9f',
    500: '#551877',
    950: '#000000',
  },
}
SCSS
$custom: #551877;
$custom-light: #895c9f;
$custom-dark: #000000;
JSON
{
  "hex": "#551877",
  "rgb": {
    "r": 85,
    "g": 24,
    "b": 119
  },
  "hsl": {
    "h": 278.526,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.35929,
    "c": 0.15328,
    "h": 309.9
  },
  "luminance": 0.03916
}

Semantic roles & 50–950 ramp

primary
#551877
secondary
#66AC3F
accent
#E93E7C
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #551877

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

Preview Lab → · Contrast checker → · Palette generator →

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