#592A88#592A88

#592A88 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 39.9% C 0.150 H 303.1°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#592A88
RGBrgb(89, 42, 136)
HSLhsl(270, 53%, 35%)
HSVhsv(270, 69%, 53%)
CMYKcmyk(34.6%, 69.1%, 0%, 46.7%)
CIE-LABlab(28.27, 40.34, -44.26)
CIE-LCHlch(28.27, 59.89, 312.34°)
OKLaboklab(39.93% 0.082 -0.1258)
OKLCHoklch(39.93% 0.15 303.1)
XYZxyz(9.3907, 5.5574, 23.8657)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#592A88 #59882A
analogous
#2A2A88 #592A88 #882A88
triadic
#592A88 #88592A #2A8859
tetradic
#592A88 #882A2A #59882A #2A8888
square
#592A88 #882A2A #59882A #2A8888
split-complementary
#592A88 #88882A #2A882A
monochromatic
#1C0D2A #3A1C59 #592A88 #7838B7 #965FCE

Accessibility & contrast

On white

9.95
#592A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#592A88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #592A88
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##592A88#FFFFFF#000000##FFFFFF
##592A881.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428B
Deuteranopia (green-blind)
#024286
Tritanopia (blue-blind)
#503F55
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #592a88;
/* rgb */ color: rgb(89, 42, 136);
/* oklch */ color: oklch(39.9% 0.150 303.1);
Tailwind
colors: {
  custom: {
    50: '#8c67ab',
    500: '#592a88',
    950: '#000000',
  },
}
SCSS
$custom: #592a88;
$custom-light: #8c67ab;
$custom-dark: #000000;
JSON
{
  "hex": "#592a88",
  "rgb": {
    "r": 89,
    "g": 42,
    "b": 136
  },
  "hsl": {
    "h": 270,
    "s": 52.809,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39931,
    "c": 0.15018,
    "h": 303.1
  },
  "luminance": 0.05557
}

Semantic roles & 50–950 ramp

primary
#592A88
secondary
#87B35B
accent
#DC4C94
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #592A88

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

Preview Lab → · Contrast checker → · Palette generator →

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