#592A87#592A87

#592A87 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.9% C 0.149 H 303.4°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#592A87
RGBrgb(89, 42, 135)
HSLhsl(270, 53%, 35%)
HSVhsv(270, 69%, 53%)
CMYKcmyk(34.1%, 68.9%, 0%, 47.1%)
CIE-LABlab(28.19, 40.08, -43.76)
CIE-LCHlch(28.19, 59.35, 312.49°)
OKLaboklab(39.85% 0.0821 -0.1243)
OKLCHoklch(39.85% 0.149 303.4)
XYZxyz(9.3200, 5.5291, 23.4932)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#592A87 #58872A
analogous
#2B2A87 #592A87 #872A86
triadic
#592A87 #87592A #2A8759
tetradic
#592A87 #872B2A #58872A #2A8687
square
#592A87 #872B2A #58872A #2A8687
split-complementary
#592A87 #86872A #2A872B
monochromatic
#1B0D2A #3A1B58 #592A87 #7839B6 #965ECD

Accessibility & contrast

On white

9.97
#592A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #592A87
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##592A87#FFFFFF#000000##FFFFFF
##592A871.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428A
Deuteranopia (green-blind)
#054285
Tritanopia (blue-blind)
#503F55
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #592a87;
/* rgb */ color: rgb(89, 42, 135);
/* oklch */ color: oklch(39.9% 0.149 303.4);
Tailwind
colors: {
  custom: {
    50: '#8c67ab',
    500: '#592a87',
    950: '#000000',
  },
}
SCSS
$custom: #592a87;
$custom-light: #8c67ab;
$custom-dark: #000000;
JSON
{
  "hex": "#592a87",
  "rgb": {
    "r": 89,
    "g": 42,
    "b": 135
  },
  "hsl": {
    "h": 270.323,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39853,
    "c": 0.14902,
    "h": 303.4
  },
  "luminance": 0.05529
}

Semantic roles & 50–950 ramp

primary
#592A87
secondary
#86B35A
accent
#DC4C93
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #592A87

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

Preview Lab → · Contrast checker → · Palette generator →

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