#592B78#592B78

#592B78 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 38.9% C 0.130 H 309.1°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#592B78
RGBrgb(89, 43, 120)
HSLhsl(276, 47%, 32%)
HSVhsv(276, 64%, 47%)
CMYKcmyk(25.8%, 64.2%, 0%, 52.9%)
CIE-LABlab(27.32, 35.76, -35.74)
CIE-LCHlch(27.32, 50.56, 315.01°)
OKLaboklab(38.88% 0.082 -0.1008)
OKLCHoklch(38.88% 0.13 309.1)
XYZxyz(8.3732, 5.2078, 18.3298)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#592B78 #4A782B
analogous
#332B78 #592B78 #782B71
triadic
#592B78 #78592B #2B7859
tetradic
#592B78 #78332B #4A782B #2B7178
square
#592B78 #78332B #4A782B #2B7178
split-complementary
#592B78 #71782B #2B7833
monochromatic
#160B1E #381B4B #592B78 #7A3BA5 #995AC4

Accessibility & contrast

On white

10.29
#592B78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#592B78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #592B78
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##592B78#FFFFFF#000000##FFFFFF
##592B781.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073F7A
Deuteranopia (green-blind)
#204176
Tritanopia (blue-blind)
#553A4D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #592b78;
/* rgb */ color: rgb(89, 43, 120);
/* oklch */ color: oklch(38.9% 0.130 309.1);
Tailwind
colors: {
  custom: {
    50: '#8b679f',
    500: '#592b78',
    950: '#000000',
  },
}
SCSS
$custom: #592b78;
$custom-light: #8b679f;
$custom-dark: #000000;
JSON
{
  "hex": "#592b78",
  "rgb": {
    "r": 89,
    "g": 43,
    "b": 120
  },
  "hsl": {
    "h": 275.844,
    "s": 47.239,
    "l": 31.961
  },
  "oklch": {
    "l": 0.38883,
    "c": 0.12994,
    "h": 309.1
  },
  "luminance": 0.05208
}

Semantic roles & 50–950 ramp

primary
#592B78
secondary
#77AA55
accent
#D75187
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060E
muted
#7D7A7E

Preview Lab

Preview with #592B78

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

Preview Lab → · Contrast checker → · Palette generator →

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