#551789#551789

#551789 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.4% C 0.172 H 303.2°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#551789
RGBrgb(85, 23, 137)
HSLhsl(273, 71%, 31%)
HSVhsv(273, 83%, 54%)
CMYKcmyk(38%, 83.2%, 0%, 46.3%)
CIE-LABlab(24.80, 48.33, -50.56)
CIE-LCHlch(24.80, 69.94, 313.71°)
OKLaboklab(37.39% 0.0943 -0.1443)
OKLCHoklch(37.39% 0.172 303.2)
XYZxyz(8.5670, 4.3502, 24.0504)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551789 #4B8917
analogous
#1C1789 #551789 #891784
triadic
#551789 #895517 #178955
tetradic
#551789 #891C17 #4B8917 #178489
square
#551789 #891C17 #4B8917 #178489
split-complementary
#551789 #848917 #17891C
monochromatic
#140520 #340E55 #551789 #7620BD #943CDE

Accessibility & contrast

On white

11.23
#551789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#551789 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551789
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551789#FFFFFF#000000##FFFFFF
##5517891.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8C
Deuteranopia (green-blind)
#003B87
Tritanopia (blue-blind)
#4A3751
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #551789;
/* rgb */ color: rgb(85, 23, 137);
/* oklch */ color: oklch(37.4% 0.172 303.2);
Tailwind
colors: {
  custom: {
    50: '#8b5dac',
    500: '#551789',
    950: '#000000',
  },
}
SCSS
$custom: #551789;
$custom-light: #8b5dac;
$custom-dark: #000000;
JSON
{
  "hex": "#551789",
  "rgb": {
    "r": 85,
    "g": 23,
    "b": 137
  },
  "hsl": {
    "h": 272.632,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37387,
    "c": 0.17239,
    "h": 303.2
  },
  "luminance": 0.0435
}

Semantic roles & 50–950 ramp

primary
#551789
secondary
#78BD3F
accent
#EE3A8C
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #551789

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

Preview Lab → · Contrast checker → · Palette generator →

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