#551F8E#551F8E

#551F8E is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.6% C 0.170 H 300.5°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#551F8E
RGBrgb(85, 31, 142)
HSLhsl(269, 64%, 34%)
HSVhsv(269, 78%, 56%)
CMYKcmyk(40.1%, 78.2%, 0%, 44.3%)
CIE-LABlab(26.34, 46.37, -51.14)
CIE-LCHlch(26.34, 69.03, 312.20°)
OKLaboklab(38.6% 0.0862 -0.1461)
OKLCHoklch(38.6% 0.17 300.5)
XYZxyz(9.1176, 4.8642, 26.0445)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551F8E #588E1F
analogous
#1F218E #551F8E #8D1F8E
triadic
#551F8E #8E551F #1F8E55
tetradic
#551F8E #8E1F21 #588E1F #1F8E8D
square
#551F8E #8E1F21 #588E1F #1F8E8D
split-complementary
#551F8E #8E8D1F #218E1F
monochromatic
#19092A #37145C #551F8E #732AC0 #924FD9

Accessibility & contrast

On white

10.64
#551F8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#551F8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551F8E
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551F8E#FFFFFF#000000##FFFFFF
##551F8E1.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E91
Deuteranopia (green-blind)
#003E8C
Tritanopia (blue-blind)
#483C56
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #551f8e;
/* rgb */ color: rgb(85, 31, 142);
/* oklch */ color: oklch(38.6% 0.170 300.5);
Tailwind
colors: {
  custom: {
    50: '#8b61b0',
    500: '#551f8e',
    950: '#000000',
  },
}
SCSS
$custom: #551f8e;
$custom-light: #8b61b0;
$custom-dark: #000000;
JSON
{
  "hex": "#551f8e",
  "rgb": {
    "r": 85,
    "g": 31,
    "b": 142
  },
  "hsl": {
    "h": 269.189,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38603,
    "c": 0.16964,
    "h": 300.5
  },
  "luminance": 0.04864
}

Semantic roles & 50–950 ramp

primary
#551F8E
secondary
#86BB4D
accent
#E74196
background
#F8F5FA
surface
#F0EAF5
border
#CBC6CF
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #551F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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