#591F7E#591F7E

#591F7E is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.8% C 0.154 H 308.6°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#591F7E
RGBrgb(89, 31, 126)
HSLhsl(277, 61%, 31%)
HSVhsv(277, 75%, 49%)
CMYKcmyk(29.4%, 75.4%, 0%, 50.6%)
CIE-LABlab(25.59, 43.21, -42.32)
CIE-LCHlch(25.59, 60.48, 315.59°)
OKLaboklab(37.78% 0.0957 -0.12)
OKLCHoklch(37.78% 0.154 308.6)
XYZxyz(8.3749, 4.6103, 20.1833)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591F7E #447E1F
analogous
#291F7E #591F7E #7E1F73
triadic
#591F7E #7E591F #1F7E59
tetradic
#591F7E #7E291F #447E1F #1F737E
square
#591F7E #7E291F #447E1F #1F737E
split-complementary
#591F7E #737E1F #1F7E29
monochromatic
#14071C #36134D #591F7E #7C2BAF #9B46D1

Accessibility & contrast

On white

10.93
#591F7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #591F7E
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591F7E#FFFFFF#000000##FFFFFF
##591F7E1.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A81
Deuteranopia (green-blind)
#033D7C
Tritanopia (blue-blind)
#53354D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #591f7e;
/* rgb */ color: rgb(89, 31, 126);
/* oklch */ color: oklch(37.8% 0.154 308.6);
Tailwind
colors: {
  custom: {
    50: '#8c61a4',
    500: '#591f7e',
    950: '#000000',
  },
}
SCSS
$custom: #591f7e;
$custom-light: #8c61a4;
$custom-dark: #000000;
JSON
{
  "hex": "#591f7e",
  "rgb": {
    "r": 89,
    "g": 31,
    "b": 126
  },
  "hsl": {
    "h": 276.632,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37784,
    "c": 0.15353,
    "h": 308.6
  },
  "luminance": 0.0461
}

Semantic roles & 50–950 ramp

primary
#591F7E
secondary
#71B148
accent
#E44482
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #591F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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