#551F96#551F96

#551F96 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.3% C 0.178 H 298.1°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#551F96
RGBrgb(85, 31, 150)
HSLhsl(267, 66%, 35%)
HSVhsv(267, 79%, 59%)
CMYKcmyk(43.3%, 79.3%, 0%, 41.2%)
CIE-LABlab(27.05, 48.40, -54.92)
CIE-LCHlch(27.05, 73.20, 311.39°)
OKLaboklab(39.32% 0.084 -0.1572)
OKLCHoklch(39.32% 0.178 298.1)
XYZxyz(9.7399, 5.1131, 29.3220)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551F96 #60961F
analogous
#1F2496 #551F96 #901F96
triadic
#551F96 #96551F #1F9655
tetradic
#551F96 #961F24 #60961F #1F9690
square
#551F96 #961F24 #60961F #1F9690
split-complementary
#551F96 #96901F #24961F
monochromatic
#1C0A31 #381563 #551F96 #7229C9 #9154DC

Accessibility & contrast

On white

10.38
#551F96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#551F96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551F96
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551F96#FFFFFF#000000##FFFFFF
##551F961.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004099
Deuteranopia (green-blind)
#003F94
Tritanopia (blue-blind)
#44405A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #551f96;
/* rgb */ color: rgb(85, 31, 150);
/* oklch */ color: oklch(39.3% 0.178 298.1);
Tailwind
colors: {
  custom: {
    50: '#8c61b6',
    500: '#551f96',
    950: '#000000',
  },
}
SCSS
$custom: #551f96;
$custom-light: #8c61b6;
$custom-dark: #000000;
JSON
{
  "hex": "#551f96",
  "rgb": {
    "r": 85,
    "g": 31,
    "b": 150
  },
  "hsl": {
    "h": 267.227,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39319,
    "c": 0.17822,
    "h": 298.1
  },
  "luminance": 0.05113
}

Semantic roles & 50–950 ramp

primary
#551F96
secondary
#8DBF52
accent
#E93F9C
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #551F96

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

Preview Lab → · Contrast checker → · Palette generator →

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