#551796#551796

#551796 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.6% C 0.185 H 299.0°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#551796
RGBrgb(85, 23, 150)
HSLhsl(269, 73%, 34%)
HSVhsv(269, 85%, 59%)
CMYKcmyk(43.3%, 84.7%, 0%, 41.2%)
CIE-LABlab(26.00, 51.47, -56.65)
CIE-LCHlch(26.00, 76.54, 312.26°)
OKLaboklab(38.59% 0.0899 -0.1622)
OKLCHoklch(38.59% 0.185 299)
XYZxyz(9.5563, 4.7460, 29.2608)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551796 #589617
analogous
#171996 #551796 #951796
triadic
#551796 #965517 #179655
tetradic
#551796 #961719 #589617 #179695
square
#551796 #961719 #589617 #179695
split-complementary
#551796 #969517 #199617
monochromatic
#19072C #370F61 #551796 #731FCB #9245E2

Accessibility & contrast

On white

10.77
#551796 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#551796 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##551796#FFFFFF#000000##FFFFFF
##5517961.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)
#003D99
Deuteranopia (green-blind)
#003C94
Tritanopia (blue-blind)
#453C59
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #551796;
/* rgb */ color: rgb(85, 23, 150);
/* oklch */ color: oklch(38.6% 0.185 299.0);
Tailwind
colors: {
  custom: {
    50: '#8c5eb6',
    500: '#551796',
    950: '#000000',
  },
}
SCSS
$custom: #551796;
$custom-light: #8c5eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#551796",
  "rgb": {
    "r": 85,
    "g": 23,
    "b": 150
  },
  "hsl": {
    "h": 269.291,
    "s": 73.41,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38586,
    "c": 0.18547,
    "h": 299
  },
  "luminance": 0.04746
}

Semantic roles & 50–950 ramp

primary
#551796
secondary
#86C345
accent
#F03896
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #551796

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

Preview Lab → · Contrast checker → · Palette generator →

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