#591F7C#591F7C

#591F7C is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.6% C 0.151 H 309.4°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#591F7C
RGBrgb(89, 31, 124)
HSLhsl(277, 60%, 30%)
HSVhsv(277, 75%, 49%)
CMYKcmyk(28.2%, 75%, 0%, 51.4%)
CIE-LABlab(25.44, 42.74, -41.31)
CIE-LCHlch(25.44, 59.43, 315.97°)
OKLaboklab(37.63% 0.0961 -0.117)
OKLCHoklch(37.63% 0.151 309.4)
XYZxyz(8.2472, 4.5592, 19.5104)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591F7C #427C1F
analogous
#2A1F7C #591F7C #7C1F70
triadic
#591F7C #7C591F #1F7C59
tetradic
#591F7C #7C2A1F #427C1F #1F707C
square
#591F7C #7C2A1F #427C1F #1F707C
split-complementary
#591F7C #707C1F #1F7C2A
monochromatic
#13071A #36134B #591F7C #7C2BAD #9C45D0

Accessibility & contrast

On white

10.98
#591F7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#591F7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591F7C
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591F7C#FFFFFF#000000##FFFFFF
##591F7C1.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7F
Deuteranopia (green-blind)
#083D7A
Tritanopia (blue-blind)
#54344B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #591f7c;
/* rgb */ color: rgb(89, 31, 124);
/* oklch */ color: oklch(37.6% 0.151 309.4);
Tailwind
colors: {
  custom: {
    50: '#8c61a3',
    500: '#591f7c',
    950: '#000000',
  },
}
SCSS
$custom: #591f7c;
$custom-light: #8c61a3;
$custom-dark: #000000;
JSON
{
  "hex": "#591f7c",
  "rgb": {
    "r": 89,
    "g": 31,
    "b": 124
  },
  "hsl": {
    "h": 277.419,
    "s": 60,
    "l": 30.392
  },
  "oklch": {
    "l": 0.37626,
    "c": 0.15143,
    "h": 309.4
  },
  "luminance": 0.04559
}

Semantic roles & 50–950 ramp

primary
#591F7C
secondary
#6FAF48
accent
#E34580
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #591F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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