#551F84#551F84

#551F84 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.7% C 0.159 H 303.9°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#551F84
RGBrgb(85, 31, 132)
HSLhsl(272, 62%, 32%)
HSVhsv(272, 77%, 52%)
CMYKcmyk(35.6%, 76.5%, 0%, 48.2%)
CIE-LABlab(25.49, 43.86, -46.29)
CIE-LCHlch(25.49, 63.77, 313.46°)
OKLaboklab(37.74% 0.0887 -0.1318)
OKLCHoklch(37.74% 0.159 303.9)
XYZxyz(8.4002, 4.5772, 22.2663)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551F84 #4E841F
analogous
#231F84 #551F84 #841F81
triadic
#551F84 #84551F #1F8455
tetradic
#551F84 #84231F #4E841F #1F8184
square
#551F84 #84231F #4E841F #1F8184
split-complementary
#551F84 #81841F #1F8423
monochromatic
#150821 #351352 #551F84 #752BB6 #9449D4

Accessibility & contrast

On white

10.96
#551F84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#551F84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551F84
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551F84#FFFFFF#000000##FFFFFF
##551F841.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B87
Deuteranopia (green-blind)
#003C82
Tritanopia (blue-blind)
#4C3850
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #551f84;
/* rgb */ color: rgb(85, 31, 132);
/* oklch */ color: oklch(37.7% 0.159 303.9);
Tailwind
colors: {
  custom: {
    50: '#8a60a9',
    500: '#551f84',
    950: '#000000',
  },
}
SCSS
$custom: #551f84;
$custom-light: #8a60a9;
$custom-dark: #000000;
JSON
{
  "hex": "#551f84",
  "rgb": {
    "r": 85,
    "g": 31,
    "b": 132
  },
  "hsl": {
    "h": 272.079,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37741,
    "c": 0.15888,
    "h": 303.9
  },
  "luminance": 0.04577
}

Semantic roles & 50–950 ramp

primary
#551F84
secondary
#7CB748
accent
#E5438E
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #551F84

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

Preview Lab → · Contrast checker → · Palette generator →

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