#592D8A#592D8A

#592D8A is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.5% C 0.148 H 301.8°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#592D8A
RGBrgb(89, 45, 138)
HSLhsl(268, 51%, 36%)
HSVhsv(268, 67%, 54%)
CMYKcmyk(35.5%, 67.4%, 0%, 45.9%)
CIE-LABlab(28.99, 39.27, -44.33)
CIE-LCHlch(28.99, 59.23, 311.54°)
OKLaboklab(40.5% 0.0783 -0.126)
OKLCHoklch(40.5% 0.148 301.8)
XYZxyz(9.6446, 5.8356, 24.6581)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#592D8A #5E8A2D
analogous
#2D2F8A #592D8A #872D8A
triadic
#592D8A #8A592D #2D8A59
tetradic
#592D8A #8A2D2F #5E8A2D #2D8A87
square
#592D8A #8A2D2F #5E8A2D #2D8A87
split-complementary
#592D8A #8A872D #2F8A2D
monochromatic
#1D0F2E #3B1E5C #592D8A #773CB8 #9665CD

Accessibility & contrast

On white

9.69
#592D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#592D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #592D8A
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##592D8A#FFFFFF#000000##FFFFFF
##592D8A1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448D
Deuteranopia (green-blind)
#044488
Tritanopia (blue-blind)
#4F4257
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #592d8a;
/* rgb */ color: rgb(89, 45, 138);
/* oklch */ color: oklch(40.5% 0.148 301.8);
Tailwind
colors: {
  custom: {
    50: '#8c69ad',
    500: '#592d8a',
    950: '#000000',
  },
}
SCSS
$custom: #592d8a;
$custom-light: #8c69ad;
$custom-dark: #000000;
JSON
{
  "hex": "#592d8a",
  "rgb": {
    "r": 89,
    "g": 45,
    "b": 138
  },
  "hsl": {
    "h": 268.387,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.405,
    "c": 0.14834,
    "h": 301.8
  },
  "luminance": 0.05836
}

Semantic roles & 50–950 ramp

primary
#592D8A
secondary
#8CB360
accent
#DA4D98
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #592D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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