#551F8F#551F8F

#551F8F is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.7% C 0.171 H 300.2°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#551F8F
RGBrgb(85, 31, 143)
HSLhsl(269, 64%, 34%)
HSVhsv(269, 78%, 56%)
CMYKcmyk(40.6%, 78.3%, 0%, 43.9%)
CIE-LABlab(26.43, 46.62, -51.62)
CIE-LCHlch(26.43, 69.56, 312.09°)
OKLaboklab(38.69% 0.0859 -0.1475)
OKLCHoklch(38.69% 0.171 300.2)
XYZxyz(9.1930, 4.8943, 26.4416)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551F8F #598F1F
analogous
#1F218F #551F8F #8D1F8F
triadic
#551F8F #8F551F #1F8F55
tetradic
#551F8F #8F1F21 #598F1F #1F8F8D
square
#551F8F #8F1F21 #598F1F #1F8F8D
split-complementary
#551F8F #8F8D1F #218F1F
monochromatic
#19092A #37145D #551F8F #732AC1 #924FD9

Accessibility & contrast

On white

10.61
#551F8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#551F8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551F8F
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551F8F#FFFFFF#000000##FFFFFF
##551F8F1.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#003E8D
Tritanopia (blue-blind)
#473D56
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #551f8f;
/* rgb */ color: rgb(85, 31, 143);
/* oklch */ color: oklch(38.7% 0.171 300.2);
Tailwind
colors: {
  custom: {
    50: '#8b61b1',
    500: '#551f8f',
    950: '#000000',
  },
}
SCSS
$custom: #551f8f;
$custom-light: #8b61b1;
$custom-dark: #000000;
JSON
{
  "hex": "#551f8f",
  "rgb": {
    "r": 85,
    "g": 31,
    "b": 143
  },
  "hsl": {
    "h": 268.929,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.38691,
    "c": 0.17072,
    "h": 300.2
  },
  "luminance": 0.04894
}

Semantic roles & 50–950 ramp

primary
#551F8F
secondary
#87BC4E
accent
#E74097
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0D0511
muted
#7D7980

Preview Lab

Preview with #551F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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