#551F9B#551F9B

#551F9B is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.8% C 0.184 H 296.7°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#551F9B
RGBrgb(85, 31, 155)
HSLhsl(266, 67%, 36%)
HSVhsv(266, 80%, 61%)
CMYKcmyk(45.2%, 80%, 0%, 39.2%)
CIE-LABlab(27.51, 49.68, -57.24)
CIE-LCHlch(27.51, 75.79, 310.95°)
OKLaboklab(39.78% 0.0825 -0.164)
OKLCHoklch(39.78% 0.184 296.7)
XYZxyz(10.1511, 5.2776, 31.4878)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551F9B #659B1F
analogous
#1F279B #551F9B #931F9B
triadic
#551F9B #9B551F #1F9B55
tetradic
#551F9B #9B1F27 #659B1F #1F9B93
square
#551F9B #9B1F27 #659B1F #1F9B93
split-complementary
#551F9B #9B931F #279B1F
monochromatic
#1D0B35 #391568 #551F9B #7129CE #9257DD

Accessibility & contrast

On white

10.22
#551F9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#551F9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551F9B
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551F9B#FFFFFF#000000##FFFFFF
##551F9B1.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429E
Deuteranopia (green-blind)
#003F99
Tritanopia (blue-blind)
#42425D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #551f9b;
/* rgb */ color: rgb(85, 31, 155);
/* oklch */ color: oklch(39.8% 0.184 296.7);
Tailwind
colors: {
  custom: {
    50: '#8c62ba',
    500: '#551f9b',
    950: '#000000',
  },
}
SCSS
$custom: #551f9b;
$custom-light: #8c62ba;
$custom-dark: #000000;
JSON
{
  "hex": "#551f9b",
  "rgb": {
    "r": 85,
    "g": 31,
    "b": 155
  },
  "hsl": {
    "h": 266.129,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.39777,
    "c": 0.18356,
    "h": 296.7
  },
  "luminance": 0.05278
}

Semantic roles & 50–950 ramp

primary
#551F9B
secondary
#92C155
accent
#EA3E9F
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0512
muted
#7E7A81

Preview Lab

Preview with #551F9B

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

Preview Lab → · Contrast checker → · Palette generator →

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