#551876#551876

#551876 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.8% C 0.152 H 310.3°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#551876
RGBrgb(85, 24, 118)
HSLhsl(279, 66%, 28%)
HSVhsv(279, 80%, 46%)
CMYKcmyk(28%, 79.7%, 0%, 53.7%)
CIE-LABlab(23.31, 43.49, -40.96)
CIE-LCHlch(23.31, 59.74, 316.72°)
OKLaboklab(35.85% 0.0985 -0.1161)
OKLCHoklch(35.85% 0.152 310.3)
XYZxyz(7.3423, 3.8927, 17.5006)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551876 #397618
analogous
#261876 #551876 #761868
triadic
#551876 #765518 #187655
tetradic
#551876 #762618 #397618 #186876
square
#551876 #762618 #397618 #186876
split-complementary
#551876 #687618 #187626
monochromatic
#120519 #300E43 #551876 #7A22A9 #9C33D5

Accessibility & contrast

On white

11.81
#551876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #551876
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551876#FFFFFF#000000##FFFFFF
##5518761.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #551876;
/* rgb */ color: rgb(85, 24, 118);
/* oklch */ color: oklch(35.8% 0.152 310.3);
Tailwind
colors: {
  custom: {
    50: '#895c9e',
    500: '#551876',
    950: '#000000',
  },
}
SCSS
$custom: #551876;
$custom-light: #895c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#551876",
  "rgb": {
    "r": 85,
    "g": 24,
    "b": 118
  },
  "hsl": {
    "h": 278.936,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.35847,
    "c": 0.15228,
    "h": 310.3
  },
  "luminance": 0.03893
}

Semantic roles & 50–950 ramp

primary
#551876
secondary
#65AB3F
accent
#E93F7B
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #551876

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

Preview Lab → · Contrast checker → · Palette generator →

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