#592A8A#592A8A

#592A8A is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.1% C 0.152 H 302.4°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#592A8A
RGBrgb(89, 42, 138)
HSLhsl(269, 53%, 35%)
HSVhsv(269, 70%, 54%)
CMYKcmyk(35.5%, 69.6%, 0%, 45.9%)
CIE-LABlab(28.42, 40.86, -45.26)
CIE-LCHlch(28.42, 60.98, 312.07°)
OKLaboklab(40.09% 0.0818 -0.1287)
OKLCHoklch(40.09% 0.153 302.4)
XYZxyz(9.5342, 5.6147, 24.6213)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#592A8A #5B8A2A
analogous
#2A2B8A #592A8A #892A8A
triadic
#592A8A #8A592A #2A8A59
tetradic
#592A8A #8A2A2B #5B8A2A #2A8A89
square
#592A8A #8A2A2B #5B8A2A #2A8A89
split-complementary
#592A8A #8A892A #2B8A2A
monochromatic
#1C0D2C #3B1C5B #592A8A #7738B9 #9660CF

Accessibility & contrast

On white

9.89
#592A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #592A8A
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##592A8A#FFFFFF#000000##FFFFFF
##592A8A1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #592a8a;
/* rgb */ color: rgb(89, 42, 138);
/* oklch */ color: oklch(40.1% 0.152 302.4);
Tailwind
colors: {
  custom: {
    50: '#8c67ad',
    500: '#592a8a',
    950: '#000000',
  },
}
SCSS
$custom: #592a8a;
$custom-light: #8c67ad;
$custom-dark: #000000;
JSON
{
  "hex": "#592a8a",
  "rgb": {
    "r": 89,
    "g": 42,
    "b": 138
  },
  "hsl": {
    "h": 269.375,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.40088,
    "c": 0.1525,
    "h": 302.4
  },
  "luminance": 0.05615
}

Semantic roles & 50–950 ramp

primary
#592A8A
secondary
#89B45B
accent
#DD4B95
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #592A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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