#591989#591989

#591989 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.1% C 0.171 H 305.2°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#591989
RGBrgb(89, 25, 137)
HSLhsl(274, 69%, 32%)
HSVhsv(274, 82%, 54%)
CMYKcmyk(35%, 81.8%, 0%, 46.3%)
CIE-LABlab(25.64, 48.26, -49.16)
CIE-LCHlch(25.64, 68.89, 314.47°)
OKLaboklab(38.1% 0.0988 -0.1401)
OKLCHoklch(38.1% 0.171 305.2)
XYZxyz(8.9818, 4.6253, 24.0817)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591989 #498919
analogous
#211989 #591989 #891981
triadic
#591989 #895919 #198959
tetradic
#591989 #892119 #498919 #198189
square
#591989 #892119 #498919 #198189
split-complementary
#591989 #818919 #198921
monochromatic
#160621 #371055 #591989 #7B22BD #9940DC

Accessibility & contrast

On white

10.91
#591989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#591989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591989
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591989#FFFFFF#000000##FFFFFF
##5919891.0010.911.9310.91
#FFFFFF10.911.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8C
Deuteranopia (green-blind)
#003D87
Tritanopia (blue-blind)
#503751
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #591989;
/* rgb */ color: rgb(89, 25, 137);
/* oklch */ color: oklch(38.1% 0.171 305.2);
Tailwind
colors: {
  custom: {
    50: '#8d5eac',
    500: '#591989',
    950: '#000000',
  },
}
SCSS
$custom: #591989;
$custom-light: #8d5eac;
$custom-dark: #000000;
JSON
{
  "hex": "#591989",
  "rgb": {
    "r": 89,
    "g": 25,
    "b": 137
  },
  "hsl": {
    "h": 274.286,
    "s": 69.136,
    "l": 31.765
  },
  "oklch": {
    "l": 0.38097,
    "c": 0.17139,
    "h": 305.2
  },
  "luminance": 0.04625
}

Semantic roles & 50–950 ramp

primary
#591989
secondary
#76BC41
accent
#EC3C87
background
#F9F5FA
surface
#F1EAF4
border
#CBC6CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #591989

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

Preview Lab → · Contrast checker → · Palette generator →

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