#592787#592787

#592787 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.5% C 0.153 H 304.0°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#592787
RGBrgb(89, 39, 135)
HSLhsl(271, 55%, 34%)
HSVhsv(271, 71%, 53%)
CMYKcmyk(34.1%, 71.1%, 0%, 47.1%)
CIE-LABlab(27.64, 41.62, -44.66)
CIE-LCHlch(27.64, 61.04, 312.98°)
OKLaboklab(39.46% 0.0856 -0.1269)
OKLCHoklch(39.46% 0.153 304)
XYZxyz(9.2175, 5.3242, 23.4590)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#592787 #558727
analogous
#292787 #592787 #872785
triadic
#592787 #875927 #278759
tetradic
#592787 #872927 #558727 #278587
square
#592787 #872927 #558727 #278587
split-complementary
#592787 #858727 #278729
monochromatic
#1A0C28 #3A1958 #592787 #7835B6 #9759CF

Accessibility & contrast

On white

10.17
#592787 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#592787 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #592787
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##592787#FFFFFF#000000##FFFFFF
##5927871.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408A
Deuteranopia (green-blind)
#004185
Tritanopia (blue-blind)
#503D54
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #592787;
/* rgb */ color: rgb(89, 39, 135);
/* oklch */ color: oklch(39.5% 0.153 304.0);
Tailwind
colors: {
  custom: {
    50: '#8c65ab',
    500: '#592787',
    950: '#000000',
  },
}
SCSS
$custom: #592787;
$custom-light: #8c65ab;
$custom-dark: #000000;
JSON
{
  "hex": "#592787",
  "rgb": {
    "r": 89,
    "g": 39,
    "b": 135
  },
  "hsl": {
    "h": 271.25,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.39458,
    "c": 0.1531,
    "h": 304
  },
  "luminance": 0.05324
}

Semantic roles & 50–950 ramp

primary
#592787
secondary
#83B456
accent
#DF4991
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #592787

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

Preview Lab → · Contrast checker → · Palette generator →

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