#551F8A#551F8A

#551F8A is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.3% C 0.165 H 301.8°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#551F8A
RGBrgb(85, 31, 138)
HSLhsl(270, 63%, 33%)
HSVhsv(270, 78%, 54%)
CMYKcmyk(38.4%, 77.5%, 0%, 45.9%)
CIE-LABlab(26.00, 45.36, -49.22)
CIE-LCHlch(26.00, 66.93, 312.66°)
OKLaboklab(38.25% 0.0872 -0.1404)
OKLCHoklch(38.25% 0.165 301.8)
XYZxyz(8.8226, 4.7462, 24.4911)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551F8A #548A1F
analogous
#1F1F8A #551F8A #8A1F89
triadic
#551F8A #8A551F #1F8A55
tetradic
#551F8A #8A1F1F #548A1F #1F898A
square
#551F8A #8A1F1F #548A1F #1F898A
split-complementary
#551F8A #898A1F #1F8A1F
monochromatic
#170926 #361458 #551F8A #742ABC #924CD7

Accessibility & contrast

On white

10.77
#551F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#551F8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551F8A
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551F8A#FFFFFF#000000##FFFFFF
##551F8A1.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8D
Deuteranopia (green-blind)
#003D88
Tritanopia (blue-blind)
#4A3B53
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #551f8a;
/* rgb */ color: rgb(85, 31, 138);
/* oklch */ color: oklch(38.3% 0.165 301.8);
Tailwind
colors: {
  custom: {
    50: '#8a61ad',
    500: '#551f8a',
    950: '#000000',
  },
}
SCSS
$custom: #551f8a;
$custom-light: #8a61ad;
$custom-dark: #000000;
JSON
{
  "hex": "#551f8a",
  "rgb": {
    "r": 85,
    "g": 31,
    "b": 138
  },
  "hsl": {
    "h": 270.28,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.38253,
    "c": 0.16534,
    "h": 301.8
  },
  "luminance": 0.04746
}

Semantic roles & 50–950 ramp

primary
#551F8A
secondary
#82BA4B
accent
#E64193
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #551F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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