#592D82#592D82

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

Color values

HEX#592D82
RGBrgb(89, 45, 130)
HSLhsl(271, 49%, 34%)
HSVhsv(271, 65%, 51%)
CMYKcmyk(31.5%, 65.4%, 0%, 49%)
CIE-LABlab(28.41, 37.19, -40.28)
CIE-LCHlch(28.41, 54.83, 312.71°)
OKLaboklab(39.9% 0.079 -0.1141)
OKLCHoklch(39.9% 0.139 304.7)
XYZxyz(9.0866, 5.6124, 21.7194)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#592D82 #56822D
analogous
#2F2D82 #592D82 #822D81
triadic
#592D82 #82592D #2D8259
tetradic
#592D82 #822F2D #56822D #2D8182
square
#592D82 #822F2D #56822D #2D8182
split-complementary
#592D82 #81822D #2D822F
monochromatic
#1B0E27 #3A1D55 #592D82 #783DAF #9761C8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##592D82#FFFFFF#000000##FFFFFF
##592D821.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)
#004285
Deuteranopia (green-blind)
#174380
Tritanopia (blue-blind)
#523F53
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #592d82;
/* rgb */ color: rgb(89, 45, 130);
/* oklch */ color: oklch(39.9% 0.139 304.7);
Tailwind
colors: {
  custom: {
    50: '#8b69a7',
    500: '#592d82',
    950: '#000000',
  },
}
SCSS
$custom: #592d82;
$custom-light: #8b69a7;
$custom-dark: #000000;
JSON
{
  "hex": "#592d82",
  "rgb": {
    "r": 89,
    "g": 45,
    "b": 130
  },
  "hsl": {
    "h": 271.059,
    "s": 48.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.39896,
    "c": 0.13877,
    "h": 304.7
  },
  "luminance": 0.05612
}

Semantic roles & 50–950 ramp

primary
#592D82
secondary
#84AF5C
accent
#D85091
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #592D82

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

Preview Lab → · Contrast checker → · Palette generator →

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