#591789#591789

#591789 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.9% C 0.173 H 305.4°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#591789
RGBrgb(89, 23, 137)
HSLhsl(275, 71%, 31%)
HSVhsv(275, 83%, 54%)
CMYKcmyk(35%, 83.2%, 0%, 46.3%)
CIE-LABlab(25.39, 48.99, -49.56)
CIE-LCHlch(25.39, 69.69, 314.66°)
OKLaboklab(37.92% 0.1003 -0.1413)
OKLCHoklch(37.92% 0.173 305.4)
XYZxyz(8.9406, 4.5428, 24.0679)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591789 #478917
analogous
#201789 #591789 #891780
triadic
#591789 #895917 #178959
tetradic
#591789 #892017 #478917 #178089
square
#591789 #892017 #478917 #178089
split-complementary
#591789 #808917 #178920
monochromatic
#150520 #370E55 #591789 #7B20BD #9A3CDE

Accessibility & contrast

On white

11.00
#591789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #591789
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591789#FFFFFF#000000##FFFFFF
##5917891.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8C
Deuteranopia (green-blind)
#003C87
Tritanopia (blue-blind)
#503651
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #591789;
/* rgb */ color: rgb(89, 23, 137);
/* oklch */ color: oklch(37.9% 0.173 305.4);
Tailwind
colors: {
  custom: {
    50: '#8d5eac',
    500: '#591789',
    950: '#000000',
  },
}
SCSS
$custom: #591789;
$custom-light: #8d5eac;
$custom-dark: #000000;
JSON
{
  "hex": "#591789",
  "rgb": {
    "r": 89,
    "g": 23,
    "b": 137
  },
  "hsl": {
    "h": 274.737,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37924,
    "c": 0.17326,
    "h": 305.4
  },
  "luminance": 0.04543
}

Semantic roles & 50–950 ramp

primary
#591789
secondary
#74BD3F
accent
#EE3A86
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #591789

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

Preview Lab → · Contrast checker → · Palette generator →

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