#551F8B#551F8B

#551F8B is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.3% C 0.166 H 301.5°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#551F8B
RGBrgb(85, 31, 139)
HSLhsl(270, 64%, 33%)
HSVhsv(270, 78%, 55%)
CMYKcmyk(38.8%, 77.7%, 0%, 45.5%)
CIE-LABlab(26.08, 45.61, -49.70)
CIE-LCHlch(26.08, 67.46, 312.54°)
OKLaboklab(38.34% 0.087 -0.1419)
OKLCHoklch(38.34% 0.166 301.5)
XYZxyz(8.8954, 4.7753, 24.8742)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551F8B #558B1F
analogous
#1F1F8B #551F8B #8B1F8B
triadic
#551F8B #8B551F #1F8B55
tetradic
#551F8B #8B1F1F #558B1F #1F8B8B
square
#551F8B #8B1F1F #558B1F #1F8B8B
split-complementary
#551F8B #8B8B1F #1F8B1F
monochromatic
#180927 #361459 #551F8B #742ABD #924DD7

Accessibility & contrast

On white

10.74
#551F8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#551F8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551F8B
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551F8B#FFFFFF#000000##FFFFFF
##551F8B1.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8E
Deuteranopia (green-blind)
#003D89
Tritanopia (blue-blind)
#493B54
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #551f8b;
/* rgb */ color: rgb(85, 31, 139);
/* oklch */ color: oklch(38.3% 0.166 301.5);
Tailwind
colors: {
  custom: {
    50: '#8a61ae',
    500: '#551f8b',
    950: '#000000',
  },
}
SCSS
$custom: #551f8b;
$custom-light: #8a61ae;
$custom-dark: #000000;
JSON
{
  "hex": "#551f8b",
  "rgb": {
    "r": 85,
    "g": 31,
    "b": 139
  },
  "hsl": {
    "h": 270,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.3834,
    "c": 0.16642,
    "h": 301.5
  },
  "luminance": 0.04775
}

Semantic roles & 50–950 ramp

primary
#551F8B
secondary
#83BA4C
accent
#E74194
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #551F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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