#551778#551778

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

Color values

HEX#551778
RGBrgb(85, 23, 120)
HSLhsl(278, 68%, 28%)
HSVhsv(278, 81%, 47%)
CMYKcmyk(29.2%, 80.8%, 0%, 52.9%)
CIE-LABlab(23.34, 44.34, -42.20)
CIE-LCHlch(23.34, 61.21, 316.42°)
OKLaboklab(35.92% 0.099 -0.1197)
OKLCHoklch(35.92% 0.155 309.6)
XYZxyz(7.4422, 3.9003, 18.1264)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551778 #3A7817
analogous
#251778 #551778 #78176A
triadic
#551778 #785517 #177855
tetradic
#551778 #782517 #3A7817 #176A78
square
#551778 #782517 #3A7817 #176A78
split-complementary
#551778 #6A7817 #177825
monochromatic
#12051A #310D45 #551778 #7921AB #9C32D8

Accessibility & contrast

On white

11.80
#551778 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #551778
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551778#FFFFFF#000000##FFFFFF
##5517781.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #551778;
/* rgb */ color: rgb(85, 23, 120);
/* oklch */ color: oklch(35.9% 0.155 309.6);
Tailwind
colors: {
  custom: {
    50: '#895ca0',
    500: '#551778',
    950: '#000000',
  },
}
SCSS
$custom: #551778;
$custom-light: #895ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#551778",
  "rgb": {
    "r": 85,
    "g": 23,
    "b": 120
  },
  "hsl": {
    "h": 278.351,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.35916,
    "c": 0.15536,
    "h": 309.6
  },
  "luminance": 0.039
}

Semantic roles & 50–950 ramp

primary
#551778
secondary
#66AD3E
accent
#EB3D7C
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040F
muted
#7D797E

Preview Lab

Preview with #551778

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

Preview Lab → · Contrast checker → · Palette generator →

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