#591B8C#591B8C

#591B8C is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.5% C 0.172 H 303.9°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#591B8C
RGBrgb(89, 27, 140)
HSLhsl(273, 68%, 33%)
HSVhsv(273, 81%, 55%)
CMYKcmyk(36.4%, 80.7%, 0%, 45.1%)
CIE-LABlab(26.16, 48.21, -50.18)
CIE-LCHlch(26.16, 69.59, 313.86°)
OKLaboklab(38.54% 0.0963 -0.1431)
OKLCHoklch(38.54% 0.172 303.9)
XYZxyz(9.2443, 4.8012, 25.2456)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591B8C #4E8C1B
analogous
#201B8C #591B8C #8C1B87
triadic
#591B8C #8C591B #1B8C59
tetradic
#591B8C #8C201B #4E8C1B #1B878C
square
#591B8C #8C201B #4E8C1B #1B878C
split-complementary
#591B8C #878C1B #1B8C20
monochromatic
#180725 #381159 #591B8C #7A25BF #9846DB

Accessibility & contrast

On white

10.71
#591B8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#591B8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591B8C
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591B8C#FFFFFF#000000##FFFFFF
##591B8C1.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8F
Deuteranopia (green-blind)
#003E8A
Tritanopia (blue-blind)
#4F3954
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #591b8c;
/* rgb */ color: rgb(89, 27, 140);
/* oklch */ color: oklch(38.5% 0.172 303.9);
Tailwind
colors: {
  custom: {
    50: '#8d60ae',
    500: '#591b8c',
    950: '#000000',
  },
}
SCSS
$custom: #591b8c;
$custom-light: #8d60ae;
$custom-dark: #000000;
JSON
{
  "hex": "#591b8c",
  "rgb": {
    "r": 89,
    "g": 27,
    "b": 140
  },
  "hsl": {
    "h": 272.92,
    "s": 67.665,
    "l": 32.745
  },
  "oklch": {
    "l": 0.38541,
    "c": 0.17245,
    "h": 303.9
  },
  "luminance": 0.04801
}

Semantic roles & 50–950 ramp

primary
#591B8C
secondary
#7CBD46
accent
#EB3D8B
background
#F9F5FA
surface
#F1EAF4
border
#CBC6CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #591B8C

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

Preview Lab → · Contrast checker → · Palette generator →

#591B8C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva