#551F78#551F78

#551F78 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.8% C 0.146 H 308.6°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#551F78
RGBrgb(85, 31, 120)
HSLhsl(276, 59%, 30%)
HSVhsv(276, 74%, 47%)
CMYKcmyk(29.2%, 74.2%, 0%, 52.9%)
CIE-LABlab(24.54, 40.92, -40.25)
CIE-LCHlch(24.54, 57.40, 315.47°)
OKLaboklab(36.76% 0.091 -0.1141)
OKLCHoklch(36.76% 0.146 308.6)
XYZxyz(7.6258, 4.2675, 18.1876)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551F78 #42781F
analogous
#281F78 #551F78 #781F6F
triadic
#551F78 #78551F #1F7855
tetradic
#551F78 #78281F #42781F #1F6F78
square
#551F78 #78281F #42781F #1F6F78
split-complementary
#551F78 #6F781F #1F7828
monochromatic
#110618 #331247 #551F78 #772CA9 #9843CE

Accessibility & contrast

On white

11.33
#551F78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#551F78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551F78
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551F78#FFFFFF#000000##FFFFFF
##551F781.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387B
Deuteranopia (green-blind)
#083B76
Tritanopia (blue-blind)
#503349
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #551f78;
/* rgb */ color: rgb(85, 31, 120);
/* oklch */ color: oklch(36.8% 0.146 308.6);
Tailwind
colors: {
  custom: {
    50: '#8960a0',
    500: '#551f78',
    950: '#000000',
  },
}
SCSS
$custom: #551f78;
$custom-light: #8960a0;
$custom-dark: #000000;
JSON
{
  "hex": "#551f78",
  "rgb": {
    "r": 85,
    "g": 31,
    "b": 120
  },
  "hsl": {
    "h": 276.404,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.36762,
    "c": 0.14593,
    "h": 308.6
  },
  "luminance": 0.04267
}

Semantic roles & 50–950 ramp

primary
#551F78
secondary
#6FAB47
accent
#E24683
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050F
muted
#7D797E

Preview Lab

Preview with #551F78

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

Preview Lab → · Contrast checker → · Palette generator →

#551F78 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva