#591988#591988

#591988 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.0% C 0.170 H 305.5°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#591988
RGBrgb(89, 25, 136)
HSLhsl(275, 69%, 32%)
HSVhsv(275, 82%, 53%)
CMYKcmyk(34.6%, 81.6%, 0%, 46.7%)
CIE-LABlab(25.55, 48.03, -48.67)
CIE-LCHlch(25.55, 68.38, 314.62°)
OKLaboklab(38.01% 0.099 -0.1387)
OKLCHoklch(38.01% 0.17 305.5)
XYZxyz(8.9104, 4.5967, 23.7056)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#591988 #488819
analogous
#221988 #591988 #881980
triadic
#591988 #885919 #198859
tetradic
#591988 #882219 #488819 #198088
square
#591988 #882219 #488819 #198088
split-complementary
#591988 #808819 #198822
monochromatic
#150621 #370F54 #591988 #7B23BC #9A40DC

Accessibility & contrast

On white

10.94
#591988 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#591988 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #591988
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##591988#FFFFFF#000000##FFFFFF
##5919881.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8B
Deuteranopia (green-blind)
#003D86
Tritanopia (blue-blind)
#503751
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #591988;
/* rgb */ color: rgb(89, 25, 136);
/* oklch */ color: oklch(38.0% 0.170 305.5);
Tailwind
colors: {
  custom: {
    50: '#8d5eac',
    500: '#591988',
    950: '#000000',
  },
}
SCSS
$custom: #591988;
$custom-light: #8d5eac;
$custom-dark: #000000;
JSON
{
  "hex": "#591988",
  "rgb": {
    "r": 89,
    "g": 25,
    "b": 136
  },
  "hsl": {
    "h": 274.595,
    "s": 68.944,
    "l": 31.569
  },
  "oklch": {
    "l": 0.38011,
    "c": 0.17039,
    "h": 305.5
  },
  "luminance": 0.04597
}

Semantic roles & 50–950 ramp

primary
#591988
secondary
#75BB41
accent
#EC3C86
background
#F9F5FA
surface
#F1EAF4
border
#CBC6CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #591988

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

Preview Lab → · Contrast checker → · Palette generator →

#591988 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva