#551790#551790

#551790 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.0% C 0.179 H 300.9°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#551790
RGBrgb(85, 23, 144)
HSLhsl(271, 72%, 33%)
HSVhsv(271, 84%, 56%)
CMYKcmyk(41%, 84%, 0%, 43.5%)
CIE-LABlab(25.44, 50.02, -53.87)
CIE-LCHlch(25.44, 73.51, 312.88°)
OKLaboklab(38.03% 0.092 -0.154)
OKLCHoklch(38.03% 0.179 300.9)
XYZxyz(9.0855, 4.5576, 26.7812)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551790 #529017
analogous
#191790 #551790 #90178E
triadic
#551790 #905517 #179055
tetradic
#551790 #901917 #529017 #178E90
square
#551790 #901917 #529017 #178E90
split-complementary
#551790 #8E9017 #179019
monochromatic
#170626 #360F5B #551790 #741FC5 #9341E1

Accessibility & contrast

On white

10.99
#551790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#551790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551790
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551790#FFFFFF#000000##FFFFFF
##5517901.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C93
Deuteranopia (green-blind)
#003B8E
Tritanopia (blue-blind)
#473A55
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #551790;
/* rgb */ color: rgb(85, 23, 144);
/* oklch */ color: oklch(38.0% 0.179 300.9);
Tailwind
colors: {
  custom: {
    50: '#8b5eb2',
    500: '#551790',
    950: '#000000',
  },
}
SCSS
$custom: #551790;
$custom-light: #8b5eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#551790",
  "rgb": {
    "r": 85,
    "g": 23,
    "b": 144
  },
  "hsl": {
    "h": 270.744,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.38025,
    "c": 0.17943,
    "h": 300.9
  },
  "luminance": 0.04558
}

Semantic roles & 50–950 ramp

primary
#551790
secondary
#80C142
accent
#EF3992
background
#F9F5FB
surface
#F1E9F6
border
#CBC5D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #551790

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

Preview Lab → · Contrast checker → · Palette generator →

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