#551878#551878

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

Color values

HEX#551878
RGBrgb(85, 24, 120)
HSLhsl(278, 67%, 28%)
HSVhsv(278, 80%, 47%)
CMYKcmyk(29.2%, 80%, 0%, 52.9%)
CIE-LABlab(23.47, 43.95, -41.98)
CIE-LCHlch(23.47, 60.78, 316.32°)
OKLaboklab(36.01% 0.0981 -0.1191)
OKLCHoklch(36.01% 0.154 309.5)
XYZxyz(7.4624, 3.9408, 18.1332)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551878 #3B7818
analogous
#251878 #551878 #78186B
triadic
#551878 #785518 #187855
tetradic
#551878 #782518 #3B7818 #186B78
square
#551878 #782518 #3B7818 #186B78
split-complementary
#551878 #6B7818 #187825
monochromatic
#12051A #310E45 #551878 #7922AB #9B34D6

Accessibility & contrast

On white

11.74
#551878 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #551878
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551878#FFFFFF#000000##FFFFFF
##5518781.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357B
Deuteranopia (green-blind)
#003976
Tritanopia (blue-blind)
#503047
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #551878;
/* rgb */ color: rgb(85, 24, 120);
/* oklch */ color: oklch(36.0% 0.154 309.5);
Tailwind
colors: {
  custom: {
    50: '#895da0',
    500: '#551878',
    950: '#000000',
  },
}
SCSS
$custom: #551878;
$custom-light: #895da0;
$custom-dark: #000000;
JSON
{
  "hex": "#551878",
  "rgb": {
    "r": 85,
    "g": 24,
    "b": 120
  },
  "hsl": {
    "h": 278.125,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.36011,
    "c": 0.1543,
    "h": 309.5
  },
  "luminance": 0.03941
}

Semantic roles & 50–950 ramp

primary
#551878
secondary
#67AD3F
accent
#EA3E7D
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040F
muted
#7D797E

Preview Lab

Preview with #551878

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

Preview Lab → · Contrast checker → · Palette generator →

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