#592789#592789

#592789 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.6% C 0.155 H 303.3°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#592789
RGBrgb(89, 39, 137)
HSLhsl(271, 56%, 35%)
HSVhsv(271, 72%, 54%)
CMYKcmyk(35%, 71.5%, 0%, 46.3%)
CIE-LABlab(27.79, 42.13, -45.65)
CIE-LCHlch(27.79, 62.12, 312.70°)
OKLaboklab(39.62% 0.0853 -0.1299)
OKLCHoklch(39.62% 0.155 303.3)
XYZxyz(9.3597, 5.3810, 24.2076)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#592789 #578927
analogous
#282789 #592789 #892788
triadic
#592789 #895927 #278959
tetradic
#592789 #892827 #578927 #278889
square
#592789 #892827 #578927 #278889
split-complementary
#592789 #888927 #278928
monochromatic
#1B0C2A #3A1959 #592789 #7835B9 #965AD0

Accessibility & contrast

On white

10.11
#592789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#592789 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #592789
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##592789#FFFFFF#000000##FFFFFF
##5927891.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418C
Deuteranopia (green-blind)
#004187
Tritanopia (blue-blind)
#4F3E55
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #592789;
/* rgb */ color: rgb(89, 39, 137);
/* oklch */ color: oklch(39.6% 0.155 303.3);
Tailwind
colors: {
  custom: {
    50: '#8c65ac',
    500: '#592789',
    950: '#000000',
  },
}
SCSS
$custom: #592789;
$custom-light: #8c65ac;
$custom-dark: #000000;
JSON
{
  "hex": "#592789",
  "rgb": {
    "r": 89,
    "g": 39,
    "b": 137
  },
  "hsl": {
    "h": 270.612,
    "s": 55.682,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39617,
    "c": 0.15536,
    "h": 303.3
  },
  "luminance": 0.05381
}

Semantic roles & 50–950 ramp

primary
#592789
secondary
#85B557
accent
#DF4992
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0D0610
muted
#7D7A7F

Preview Lab

Preview with #592789

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

Preview Lab → · Contrast checker → · Palette generator →

#592789 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva