#591F98#591F98

#591F98 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.0% C 0.181 H 299.7°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#591F98
RGBrgb(89, 31, 152)
HSLhsl(269, 66%, 36%)
HSVhsv(269, 80%, 60%)
CMYKcmyk(41.4%, 79.6%, 0%, 40.4%)
CIE-LABlab(27.77, 49.55, -54.96)
CIE-LCHlch(27.77, 74.00, 312.03°)
OKLaboklab(39.99% 0.0895 -0.1572)
OKLCHoklch(39.99% 0.181 299.7)
XYZxyz(10.2759, 5.3707, 30.1949)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591F98 #5E981F
analogous
#1F2298 #591F98 #951F98
triadic
#591F98 #98591F #1F9859
tetradic
#591F98 #981F22 #5E981F #1F9895
square
#591F98 #981F22 #5E981F #1F9895
split-complementary
#591F98 #98951F #22981F
monochromatic
#1D0A32 #3B1565 #591F98 #7729CB #9655DC

Accessibility & contrast

On white

10.12
#591F98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#591F98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591F98
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591F98#FFFFFF#000000##FFFFFF
##591F981.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419B
Deuteranopia (green-blind)
#004196
Tritanopia (blue-blind)
#4A405B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #591f98;
/* rgb */ color: rgb(89, 31, 152);
/* oklch */ color: oklch(40.0% 0.181 299.7);
Tailwind
colors: {
  custom: {
    50: '#8e62b7',
    500: '#591f98',
    950: '#000000',
  },
}
SCSS
$custom: #591f98;
$custom-light: #8e62b7;
$custom-dark: #000000;
JSON
{
  "hex": "#591f98",
  "rgb": {
    "r": 89,
    "g": 31,
    "b": 152
  },
  "hsl": {
    "h": 268.76,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39986,
    "c": 0.18088,
    "h": 299.7
  },
  "luminance": 0.05371
}

Semantic roles & 50–950 ramp

primary
#591F98
secondary
#8CC053
accent
#E93F97
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #591F98

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

Preview Lab → · Contrast checker → · Palette generator →

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