#551996#551996

#551996 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.8% C 0.184 H 298.8°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#551996
RGBrgb(85, 25, 150)
HSLhsl(269, 71%, 34%)
HSVhsv(269, 83%, 59%)
CMYKcmyk(43.3%, 83.3%, 0%, 41.2%)
CIE-LABlab(26.24, 50.76, -56.26)
CIE-LCHlch(26.24, 75.77, 312.06°)
OKLaboklab(38.75% 0.0886 -0.1611)
OKLCHoklch(38.75% 0.184 298.8)
XYZxyz(9.5975, 4.8284, 29.2746)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551996 #5A9619
analogous
#191B96 #551996 #941996
triadic
#551996 #965519 #199655
tetradic
#551996 #96191B #5A9619 #199694
square
#551996 #96191B #5A9619 #199694
split-complementary
#551996 #969419 #1B9619
monochromatic
#1A082D #371062 #551996 #7322CA #9249E1

Accessibility & contrast

On white

10.68
#551996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#551996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551996
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551996#FFFFFF#000000##FFFFFF
##5519961.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E99
Deuteranopia (green-blind)
#003D94
Tritanopia (blue-blind)
#453D59
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #551996;
/* rgb */ color: rgb(85, 25, 150);
/* oklch */ color: oklch(38.8% 0.184 298.8);
Tailwind
colors: {
  custom: {
    50: '#8c5fb6',
    500: '#551996',
    950: '#000000',
  },
}
SCSS
$custom: #551996;
$custom-light: #8c5fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#551996",
  "rgb": {
    "r": 85,
    "g": 25,
    "b": 150
  },
  "hsl": {
    "h": 268.8,
    "s": 71.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.38753,
    "c": 0.1838,
    "h": 298.8
  },
  "luminance": 0.04829
}

Semantic roles & 50–950 ramp

primary
#551996
secondary
#88C249
accent
#EE3A98
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #551996

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

Preview Lab → · Contrast checker → · Palette generator →

#551996 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva