#592A9A#592A9A

#592A9A is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.4% C 0.171 H 297.5°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#592A9A
RGBrgb(89, 42, 154)
HSLhsl(265, 57%, 38%)
HSVhsv(265, 73%, 60%)
CMYKcmyk(42.2%, 72.7%, 0%, 39.6%)
CIE-LABlab(29.70, 45.06, -53.04)
CIE-LCHlch(29.70, 69.59, 310.35°)
OKLaboklab(41.4% 0.079 -0.1516)
OKLCHoklch(41.4% 0.171 297.5)
XYZxyz(10.7790, 6.1127, 31.1775)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#592A9A #6B9A2A
analogous
#2A339A #592A9A #912A9A
triadic
#592A9A #9A592A #2A9A59
tetradic
#592A9A #9A2A33 #6B9A2A #2A9A91
square
#592A9A #9A2A33 #6B9A2A #2A9A91
split-complementary
#592A9A #9A912A #339A2A
monochromatic
#21103A #3D1D6A #592A9A #7538C9 #9668D6

Accessibility & contrast

On white

9.45
#592A9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#592A9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #592A9A
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##592A9A#FFFFFF#000000##FFFFFF
##592A9A1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469D
Deuteranopia (green-blind)
#004598
Tritanopia (blue-blind)
#49465F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #592a9a;
/* rgb */ color: rgb(89, 42, 154);
/* oklch */ color: oklch(41.4% 0.171 297.5);
Tailwind
colors: {
  custom: {
    50: '#8e68b9',
    500: '#592a9a',
    950: '#000000',
  },
}
SCSS
$custom: #592a9a;
$custom-light: #8e68b9;
$custom-dark: #000000;
JSON
{
  "hex": "#592a9a",
  "rgb": {
    "r": 89,
    "g": 42,
    "b": 154
  },
  "hsl": {
    "h": 265.179,
    "s": 57.143,
    "l": 38.431
  },
  "oklch": {
    "l": 0.41397,
    "c": 0.17095,
    "h": 297.5
  },
  "luminance": 0.06113
}

Semantic roles & 50–950 ramp

primary
#592A9A
secondary
#97BC63
accent
#E047A0
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #592A9A

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

Preview Lab → · Contrast checker → · Palette generator →

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