#551F9A#551F9A

#551F9A is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.7% C 0.182 H 297.0°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#551F9A
RGBrgb(85, 31, 154)
HSLhsl(266, 66%, 36%)
HSVhsv(266, 80%, 60%)
CMYKcmyk(44.8%, 79.9%, 0%, 39.6%)
CIE-LABlab(27.42, 49.42, -56.78)
CIE-LCHlch(27.42, 75.27, 311.04°)
OKLaboklab(39.68% 0.0828 -0.1626)
OKLCHoklch(39.68% 0.182 297)
XYZxyz(10.0675, 5.2442, 31.0474)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551F9A #649A1F
analogous
#1F279A #551F9A #931F9A
triadic
#551F9A #9A551F #1F9A55
tetradic
#551F9A #9A1F27 #649A1F #1F9A93
square
#551F9A #9A1F27 #649A1F #1F9A93
split-complementary
#551F9A #9A931F #279A1F
monochromatic
#1D0A34 #391567 #551F9A #7129CD #9156DD

Accessibility & contrast

On white

10.25
#551F9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#551F9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551F9A
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551F9A#FFFFFF#000000##FFFFFF
##551F9A1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419D
Deuteranopia (green-blind)
#003F98
Tritanopia (blue-blind)
#42415C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #551f9a;
/* rgb */ color: rgb(85, 31, 154);
/* oklch */ color: oklch(39.7% 0.182 297.0);
Tailwind
colors: {
  custom: {
    50: '#8c62b9',
    500: '#551f9a',
    950: '#000000',
  },
}
SCSS
$custom: #551f9a;
$custom-light: #8c62b9;
$custom-dark: #000000;
JSON
{
  "hex": "#551f9a",
  "rgb": {
    "r": 85,
    "g": 31,
    "b": 154
  },
  "hsl": {
    "h": 266.341,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.39685,
    "c": 0.18249,
    "h": 297
  },
  "luminance": 0.05244
}

Semantic roles & 50–950 ramp

primary
#551F9A
secondary
#91C154
accent
#E93E9E
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0512
muted
#7E7A81

Preview Lab

Preview with #551F9A

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

Preview Lab → · Contrast checker → · Palette generator →

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