#592A89#592A89

#592A89 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.0% C 0.151 H 302.8°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#592A89
RGBrgb(89, 42, 137)
HSLhsl(270, 53%, 35%)
HSVhsv(270, 69%, 54%)
CMYKcmyk(35%, 69.3%, 0%, 46.3%)
CIE-LABlab(28.34, 40.60, -44.76)
CIE-LCHlch(28.34, 60.43, 312.21°)
OKLaboklab(40.01% 0.0819 -0.1273)
OKLCHoklch(40.01% 0.151 302.8)
XYZxyz(9.4621, 5.5859, 24.2418)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#592A89 #5A892A
analogous
#2A2A89 #592A89 #882A89
triadic
#592A89 #89592A #2A8959
tetradic
#592A89 #892A2A #5A892A #2A8988
square
#592A89 #892A2A #5A892A #2A8988
split-complementary
#592A89 #89882A #2A892A
monochromatic
#1C0D2B #3B1C5A #592A89 #7738B8 #965FCE

Accessibility & contrast

On white

9.92
#592A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#592A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #592A89
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##592A89#FFFFFF#000000##FFFFFF
##592A891.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428C
Deuteranopia (green-blind)
#004387
Tritanopia (blue-blind)
#4F4056
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #592a89;
/* rgb */ color: rgb(89, 42, 137);
/* oklch */ color: oklch(40.0% 0.151 302.8);
Tailwind
colors: {
  custom: {
    50: '#8c67ac',
    500: '#592a89',
    950: '#000000',
  },
}
SCSS
$custom: #592a89;
$custom-light: #8c67ac;
$custom-dark: #000000;
JSON
{
  "hex": "#592a89",
  "rgb": {
    "r": 89,
    "g": 42,
    "b": 137
  },
  "hsl": {
    "h": 269.684,
    "s": 53.073,
    "l": 35.098
  },
  "oklch": {
    "l": 0.40009,
    "c": 0.15134,
    "h": 302.8
  },
  "luminance": 0.05586
}

Semantic roles & 50–950 ramp

primary
#592A89
secondary
#88B45B
accent
#DC4B95
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #592A89

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

Preview Lab → · Contrast checker → · Palette generator →

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