#592799#592799

#592799 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.9% C 0.173 H 298.3°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#592799
RGBrgb(89, 39, 153)
HSLhsl(266, 59%, 38%)
HSVhsv(266, 75%, 60%)
CMYKcmyk(41.8%, 74.5%, 0%, 40%)
CIE-LABlab(29.09, 46.25, -53.41)
CIE-LCHlch(29.09, 70.65, 310.89°)
OKLaboklab(40.95% 0.0821 -0.1527)
OKLCHoklch(40.95% 0.173 298.3)
XYZxyz(10.5936, 5.8746, 30.7066)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#592799 #679927
analogous
#272E99 #592799 #922799
triadic
#592799 #995927 #279959
tetradic
#592799 #99272E #679927 #279992
square
#592799 #99272E #679927 #279992
split-complementary
#592799 #999227 #2E9927
monochromatic
#200E37 #3D1B68 #592799 #7533CA #9663D7

Accessibility & contrast

On white

9.66
#592799 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#592799 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #592799
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##592799#FFFFFF#000000##FFFFFF
##5927991.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#004397
Tritanopia (blue-blind)
#49445E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #592799;
/* rgb */ color: rgb(89, 39, 153);
/* oklch */ color: oklch(40.9% 0.173 298.3);
Tailwind
colors: {
  custom: {
    50: '#8e66b8',
    500: '#592799',
    950: '#000000',
  },
}
SCSS
$custom: #592799;
$custom-light: #8e66b8;
$custom-dark: #000000;
JSON
{
  "hex": "#592799",
  "rgb": {
    "r": 89,
    "g": 39,
    "b": 153
  },
  "hsl": {
    "h": 266.316,
    "s": 59.375,
    "l": 37.647
  },
  "oklch": {
    "l": 0.40946,
    "c": 0.17336,
    "h": 298.3
  },
  "luminance": 0.05875
}

Semantic roles & 50–950 ramp

primary
#592799
secondary
#94BD5F
accent
#E3459E
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #592799

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

Preview Lab → · Contrast checker → · Palette generator →

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