#592D87#592D87

#592D87 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.3% C 0.145 H 302.9°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#592D87
RGBrgb(89, 45, 135)
HSLhsl(269, 50%, 35%)
HSVhsv(269, 67%, 53%)
CMYKcmyk(34.1%, 66.7%, 0%, 47.1%)
CIE-LABlab(28.77, 38.49, -42.83)
CIE-LCHlch(28.77, 57.58, 311.95°)
OKLaboklab(40.27% 0.0786 -0.1216)
OKLCHoklch(40.27% 0.145 302.9)
XYZxyz(9.4304, 5.7499, 23.5300)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#592D87 #5B872D
analogous
#2D2E87 #592D87 #862D87
triadic
#592D87 #87592D #2D8759
tetradic
#592D87 #872D2E #5B872D #2D8786
square
#592D87 #872D2E #5B872D #2D8786
split-complementary
#592D87 #87862D #2E872D
monochromatic
#1C0E2B #3B1E59 #592D87 #773CB5 #9663CB

Accessibility & contrast

On white

9.77
#592D87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#592D87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #592D87
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##592D87#FFFFFF#000000##FFFFFF
##592D871.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438A
Deuteranopia (green-blind)
#0D4485
Tritanopia (blue-blind)
#504156
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #592d87;
/* rgb */ color: rgb(89, 45, 135);
/* oklch */ color: oklch(40.3% 0.145 302.9);
Tailwind
colors: {
  custom: {
    50: '#8c69ab',
    500: '#592d87',
    950: '#000000',
  },
}
SCSS
$custom: #592d87;
$custom-light: #8c69ab;
$custom-dark: #000000;
JSON
{
  "hex": "#592d87",
  "rgb": {
    "r": 89,
    "g": 45,
    "b": 135
  },
  "hsl": {
    "h": 269.333,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.40271,
    "c": 0.14476,
    "h": 302.9
  },
  "luminance": 0.0575
}

Semantic roles & 50–950 ramp

primary
#592D87
secondary
#89B25E
accent
#DA4E95
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #592D87

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

Preview Lab → · Contrast checker → · Palette generator →

#592D87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva