#551F9C#551F9C

#551F9C is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.9% C 0.185 H 296.4°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#551F9C
RGBrgb(85, 31, 156)
HSLhsl(266, 67%, 37%)
HSVhsv(266, 80%, 61%)
CMYKcmyk(45.5%, 80.1%, 0%, 38.8%)
CIE-LABlab(27.60, 49.93, -57.70)
CIE-LCHlch(27.60, 76.31, 310.87°)
OKLaboklab(39.87% 0.0822 -0.1653)
OKLCHoklch(39.87% 0.185 296.4)
XYZxyz(10.2355, 5.3113, 31.9320)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551F9C #669C1F
analogous
#1F289C #551F9C #941F9C
triadic
#551F9C #9C551F #1F9C55
tetradic
#551F9C #9C1F28 #669C1F #1F9C94
square
#551F9C #9C1F28 #669C1F #1F9C94
split-complementary
#551F9C #9C941F #289C1F
monochromatic
#1D0B36 #391569 #551F9C #7129CF #9258DE

Accessibility & contrast

On white

10.18
#551F9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #551F9C
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551F9C#FFFFFF#000000##FFFFFF
##551F9C1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429F
Deuteranopia (green-blind)
#003F9A
Tritanopia (blue-blind)
#41425E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #551f9c;
/* rgb */ color: rgb(85, 31, 156);
/* oklch */ color: oklch(39.9% 0.185 296.4);
Tailwind
colors: {
  custom: {
    50: '#8c62ba',
    500: '#551f9c',
    950: '#000000',
  },
}
SCSS
$custom: #551f9c;
$custom-light: #8c62ba;
$custom-dark: #000000;
JSON
{
  "hex": "#551f9c",
  "rgb": {
    "r": 85,
    "g": 31,
    "b": 156
  },
  "hsl": {
    "h": 265.92,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.3987,
    "c": 0.18462,
    "h": 296.4
  },
  "luminance": 0.05312
}

Semantic roles & 50–950 ramp

primary
#551F9C
secondary
#93C155
accent
#EA3EA0
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0512
muted
#7E7A81

Preview Lab

Preview with #551F9C

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

Preview Lab → · Contrast checker → · Palette generator →

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