#591A7F#591A7F

#591A7F is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.3% C 0.160 H 308.8°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#591A7F
RGBrgb(89, 26, 127)
HSLhsl(277, 66%, 30%)
HSVhsv(277, 80%, 50%)
CMYKcmyk(29.9%, 79.5%, 0%, 50.2%)
CIE-LABlab(24.94, 45.55, -44.02)
CIE-LCHlch(24.94, 63.34, 315.98°)
OKLaboklab(37.35% 0.1004 -0.125)
OKLCHoklch(37.35% 0.16 308.8)
XYZxyz(8.3192, 4.3951, 20.4846)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591A7F #407F1A
analogous
#271A7F #591A7F #7F1A72
triadic
#591A7F #7F591A #1A7F59
tetradic
#591A7F #7F271A #407F1A #1A727F
square
#591A7F #7F271A #407F1A #1A727F
split-complementary
#591A7F #727F1A #1A7F27
monochromatic
#120519 #35104C #591A7F #7D24B2 #9D3CD7

Accessibility & contrast

On white

11.18
#591A7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#591A7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591A7F
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591A7F#FFFFFF#000000##FFFFFF
##591A7F1.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003982
Deuteranopia (green-blind)
#003C7D
Tritanopia (blue-blind)
#53334C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #591a7f;
/* rgb */ color: rgb(89, 26, 127);
/* oklch */ color: oklch(37.3% 0.160 308.8);
Tailwind
colors: {
  custom: {
    50: '#8c5ea5',
    500: '#591a7f',
    950: '#000000',
  },
}
SCSS
$custom: #591a7f;
$custom-light: #8c5ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#591a7f",
  "rgb": {
    "r": 89,
    "g": 26,
    "b": 127
  },
  "hsl": {
    "h": 277.426,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.37345,
    "c": 0.16035,
    "h": 308.8
  },
  "luminance": 0.04395
}

Semantic roles & 50–950 ramp

primary
#591A7F
secondary
#6CB342
accent
#E93F7F
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D050F
muted
#7D797F

Preview Lab

Preview with #591A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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