#591F90#591F90

#591F90 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.3% C 0.172 H 302.1°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#591F90
RGBrgb(89, 31, 144)
HSLhsl(271, 65%, 34%)
HSVhsv(271, 78%, 56%)
CMYKcmyk(38.2%, 78.5%, 0%, 43.5%)
CIE-LABlab(27.07, 47.56, -51.18)
CIE-LCHlch(27.07, 69.87, 312.90°)
OKLaboklab(39.28% 0.0917 -0.1461)
OKLCHoklch(39.28% 0.172 302.1)
XYZxyz(9.6426, 5.1174, 26.8599)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591F90 #56901F
analogous
#201F90 #591F90 #901F8F
triadic
#591F90 #90591F #1F9059
tetradic
#591F90 #90201F #56901F #1F8F90
square
#591F90 #90201F #56901F #1F8F90
split-complementary
#591F90 #8F901F #1F9020
monochromatic
#1B092B #3A145E #591F90 #782AC2 #9750D9

Accessibility & contrast

On white

10.38
#591F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#591F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591F90
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591F90#FFFFFF#000000##FFFFFF
##591F901.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F93
Deuteranopia (green-blind)
#003F8E
Tritanopia (blue-blind)
#4D3D57
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #591f90;
/* rgb */ color: rgb(89, 31, 144);
/* oklch */ color: oklch(39.3% 0.172 302.1);
Tailwind
colors: {
  custom: {
    50: '#8d62b1',
    500: '#591f90',
    950: '#000000',
  },
}
SCSS
$custom: #591f90;
$custom-light: #8d62b1;
$custom-dark: #000000;
JSON
{
  "hex": "#591f90",
  "rgb": {
    "r": 89,
    "g": 31,
    "b": 144
  },
  "hsl": {
    "h": 270.796,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.39281,
    "c": 0.17248,
    "h": 302.1
  },
  "luminance": 0.05117
}

Semantic roles & 50–950 ramp

primary
#591F90
secondary
#84BC4E
accent
#E84092
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #591F90

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

Preview Lab → · Contrast checker → · Palette generator →

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