#592D81#592D81

#592D81 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 39.8% C 0.138 H 305.1°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#592D81
RGBrgb(89, 45, 129)
HSLhsl(271, 48%, 34%)
HSVhsv(271, 65%, 51%)
CMYKcmyk(31%, 65.1%, 0%, 49.4%)
CIE-LABlab(28.34, 36.93, -39.77)
CIE-LCHlch(28.34, 54.28, 312.88°)
OKLaboklab(39.82% 0.079 -0.1126)
OKLCHoklch(39.82% 0.138 305.1)
XYZxyz(9.0198, 5.5857, 21.3676)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#592D81 #55812D
analogous
#2F2D81 #592D81 #812D7F
triadic
#592D81 #81592D #2D8159
tetradic
#592D81 #812F2D #55812D #2D7F81
square
#592D81 #812F2D #55812D #2D7F81
split-complementary
#592D81 #7F812D #2D812F
monochromatic
#1A0D26 #3A1D54 #592D81 #783DAE #9761C8

Accessibility & contrast

On white

9.92
#592D81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #592D81
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##592D81#FFFFFF#000000##FFFFFF
##592D811.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004284
Deuteranopia (green-blind)
#18437F
Tritanopia (blue-blind)
#523F52
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #592d81;
/* rgb */ color: rgb(89, 45, 129);
/* oklch */ color: oklch(39.8% 0.138 305.1);
Tailwind
colors: {
  custom: {
    50: '#8b69a6',
    500: '#592d81',
    950: '#000000',
  },
}
SCSS
$custom: #592d81;
$custom-light: #8b69a6;
$custom-dark: #000000;
JSON
{
  "hex": "#592d81",
  "rgb": {
    "r": 89,
    "g": 45,
    "b": 129
  },
  "hsl": {
    "h": 271.429,
    "s": 48.276,
    "l": 34.118
  },
  "oklch": {
    "l": 0.39823,
    "c": 0.13757,
    "h": 305.1
  },
  "luminance": 0.05586
}

Semantic roles & 50–950 ramp

primary
#592D81
secondary
#83AE5C
accent
#D85091
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #592D81

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

Preview Lab → · Contrast checker → · Palette generator →

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