#592A8B#592A8B

#592A8B is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.2% C 0.154 H 302.1°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#592A8B
RGBrgb(89, 42, 139)
HSLhsl(269, 54%, 35%)
HSVhsv(269, 70%, 55%)
CMYKcmyk(36%, 69.8%, 0%, 45.5%)
CIE-LABlab(28.50, 41.12, -45.76)
CIE-LCHlch(28.50, 61.52, 311.94°)
OKLaboklab(40.17% 0.0816 -0.1302)
OKLCHoklch(40.17% 0.154 302.1)
XYZxyz(9.6069, 5.6438, 25.0043)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#592A8B #5C8B2A
analogous
#2A2C8B #592A8B #892A8B
triadic
#592A8B #8B592A #2A8B59
tetradic
#592A8B #8B2A2C #5C8B2A #2A8B89
square
#592A8B #8B2A2C #5C8B2A #2A8B89
split-complementary
#592A8B #8B892A #2C8B2A
monochromatic
#1D0E2D #3B1C5C #592A8B #7738BA #9660CF

Accessibility & contrast

On white

9.86
#592A8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#592A8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #592A8B
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##592A8B#FFFFFF#000000##FFFFFF
##592A8B1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428E
Deuteranopia (green-blind)
#004389
Tritanopia (blue-blind)
#4F4057
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #592a8b;
/* rgb */ color: rgb(89, 42, 139);
/* oklch */ color: oklch(40.2% 0.154 302.1);
Tailwind
colors: {
  custom: {
    50: '#8c67ae',
    500: '#592a8b',
    950: '#000000',
  },
}
SCSS
$custom: #592a8b;
$custom-light: #8c67ae;
$custom-dark: #000000;
JSON
{
  "hex": "#592a8b",
  "rgb": {
    "r": 89,
    "g": 42,
    "b": 139
  },
  "hsl": {
    "h": 269.072,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.40167,
    "c": 0.15366,
    "h": 302.1
  },
  "luminance": 0.05644
}

Semantic roles & 50–950 ramp

primary
#592A8B
secondary
#8AB55C
accent
#DD4B96
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0D0610
muted
#7D7A7F

Preview Lab

Preview with #592A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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