#591F7D#591F7D

#591F7D is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.7% C 0.152 H 309.0°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#591F7D
RGBrgb(89, 31, 125)
HSLhsl(277, 60%, 31%)
HSVhsv(277, 75%, 49%)
CMYKcmyk(28.8%, 75.2%, 0%, 51%)
CIE-LABlab(25.52, 42.97, -41.81)
CIE-LCHlch(25.52, 59.96, 315.78°)
OKLaboklab(37.71% 0.0959 -0.1185)
OKLCHoklch(37.71% 0.152 309)
XYZxyz(8.3107, 4.5846, 19.8452)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591F7D #437D1F
analogous
#2A1F7D #591F7D #7D1F72
triadic
#591F7D #7D591F #1F7D59
tetradic
#591F7D #7D2A1F #437D1F #1F727D
square
#591F7D #7D2A1F #437D1F #1F727D
split-complementary
#591F7D #727D1F #1F7D2A
monochromatic
#13071B #36134C #591F7D #7C2BAE #9C45D1

Accessibility & contrast

On white

10.96
#591F7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#591F7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591F7D
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591F7D#FFFFFF#000000##FFFFFF
##591F7D1.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A80
Deuteranopia (green-blind)
#063D7B
Tritanopia (blue-blind)
#54354C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #591f7d;
/* rgb */ color: rgb(89, 31, 125);
/* oklch */ color: oklch(37.7% 0.152 309.0);
Tailwind
colors: {
  custom: {
    50: '#8c61a3',
    500: '#591f7d',
    950: '#000000',
  },
}
SCSS
$custom: #591f7d;
$custom-light: #8c61a3;
$custom-dark: #000000;
JSON
{
  "hex": "#591f7d",
  "rgb": {
    "r": 89,
    "g": 31,
    "b": 125
  },
  "hsl": {
    "h": 277.021,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.37705,
    "c": 0.15247,
    "h": 309
  },
  "luminance": 0.04584
}

Semantic roles & 50–950 ramp

primary
#591F7D
secondary
#70B048
accent
#E34481
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #591F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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