#551F86#551F86

#551F86 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.9% C 0.161 H 303.2°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#551F86
RGBrgb(85, 31, 134)
HSLhsl(271, 62%, 32%)
HSVhsv(271, 77%, 53%)
CMYKcmyk(36.6%, 76.9%, 0%, 47.5%)
CIE-LABlab(25.66, 44.36, -47.27)
CIE-LCHlch(25.66, 64.83, 313.18°)
OKLaboklab(37.91% 0.0882 -0.1347)
OKLCHoklch(37.91% 0.161 303.2)
XYZxyz(8.5384, 4.6325, 22.9940)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551F86 #50861F
analogous
#211F86 #551F86 #861F84
triadic
#551F86 #86551F #1F8655
tetradic
#551F86 #86211F #50861F #1F8486
square
#551F86 #86211F #50861F #1F8486
split-complementary
#551F86 #84861F #1F8621
monochromatic
#160823 #351454 #551F86 #752AB8 #934AD5

Accessibility & contrast

On white

10.90
#551F86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#551F86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551F86
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551F86#FFFFFF#000000##FFFFFF
##551F861.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C89
Deuteranopia (green-blind)
#003D84
Tritanopia (blue-blind)
#4B3951
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #551f86;
/* rgb */ color: rgb(85, 31, 134);
/* oklch */ color: oklch(37.9% 0.161 303.2);
Tailwind
colors: {
  custom: {
    50: '#8a61aa',
    500: '#551f86',
    950: '#000000',
  },
}
SCSS
$custom: #551f86;
$custom-light: #8a61aa;
$custom-dark: #000000;
JSON
{
  "hex": "#551f86",
  "rgb": {
    "r": 85,
    "g": 31,
    "b": 134
  },
  "hsl": {
    "h": 271.456,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.3791,
    "c": 0.16103,
    "h": 303.2
  },
  "luminance": 0.04632
}

Semantic roles & 50–950 ramp

primary
#551F86
secondary
#7EB849
accent
#E54290
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #551F86

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

Preview Lab → · Contrast checker → · Palette generator →

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