#592D88#592D88

#592D88 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.3% C 0.146 H 302.5°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#592D88
RGBrgb(89, 45, 136)
HSLhsl(269, 50%, 35%)
HSVhsv(269, 67%, 53%)
CMYKcmyk(34.6%, 66.9%, 0%, 46.7%)
CIE-LABlab(28.85, 38.75, -43.33)
CIE-LCHlch(28.85, 58.13, 311.81°)
OKLaboklab(40.35% 0.0785 -0.1231)
OKLCHoklch(40.35% 0.146 302.5)
XYZxyz(9.5011, 5.7782, 23.9025)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#592D88 #5C882D
analogous
#2D2E88 #592D88 #862D88
triadic
#592D88 #88592D #2D8859
tetradic
#592D88 #882D2E #5C882D #2D8886
square
#592D88 #882D2E #5C882D #2D8886
split-complementary
#592D88 #88862D #2E882D
monochromatic
#1D0F2C #3B1E5A #592D88 #773CB6 #9664CC

Accessibility & contrast

On white

9.74
#592D88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#592D88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #592D88
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##592D88#FFFFFF#000000##FFFFFF
##592D881.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438B
Deuteranopia (green-blind)
#0A4486
Tritanopia (blue-blind)
#504156
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #592d88;
/* rgb */ color: rgb(89, 45, 136);
/* oklch */ color: oklch(40.3% 0.146 302.5);
Tailwind
colors: {
  custom: {
    50: '#8c69ab',
    500: '#592d88',
    950: '#000000',
  },
}
SCSS
$custom: #592d88;
$custom-light: #8c69ab;
$custom-dark: #000000;
JSON
{
  "hex": "#592d88",
  "rgb": {
    "r": 89,
    "g": 45,
    "b": 136
  },
  "hsl": {
    "h": 269.011,
    "s": 50.276,
    "l": 35.49
  },
  "oklch": {
    "l": 0.40347,
    "c": 0.14595,
    "h": 302.5
  },
  "luminance": 0.05778
}

Semantic roles & 50–950 ramp

primary
#592D88
secondary
#8AB25F
accent
#DA4E96
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #592D88

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

Preview Lab → · Contrast checker → · Palette generator →

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