#592399#592399

#592399 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.5% C 0.178 H 298.9°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#592399
RGBrgb(89, 35, 153)
HSLhsl(267, 63%, 37%)
HSVhsv(267, 77%, 60%)
CMYKcmyk(41.8%, 77.1%, 0%, 40%)
CIE-LABlab(28.45, 48.09, -54.46)
CIE-LCHlch(28.45, 72.66, 311.45°)
OKLaboklab(40.49% 0.0858 -0.1557)
OKLCHoklch(40.49% 0.178 298.9)
XYZxyz(10.4692, 5.6257, 30.6651)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#592399 #639923
analogous
#232899 #592399 #942399
triadic
#592399 #995923 #239959
tetradic
#592399 #992328 #639923 #239994
square
#592399 #992328 #639923 #239994
split-complementary
#592399 #999423 #289923
monochromatic
#1F0C35 #3C1867 #592399 #762ECB #965DDA

Accessibility & contrast

On white

9.88
#592399 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#592399 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #592399
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##592399#FFFFFF#000000##FFFFFF
##5923991.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439C
Deuteranopia (green-blind)
#004297
Tritanopia (blue-blind)
#49425D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #592399;
/* rgb */ color: rgb(89, 35, 153);
/* oklch */ color: oklch(40.5% 0.178 298.9);
Tailwind
colors: {
  custom: {
    50: '#8e64b8',
    500: '#592399',
    950: '#000000',
  },
}
SCSS
$custom: #592399;
$custom-light: #8e64b8;
$custom-dark: #000000;
JSON
{
  "hex": "#592399",
  "rgb": {
    "r": 89,
    "g": 35,
    "b": 153
  },
  "hsl": {
    "h": 267.458,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40491,
    "c": 0.17782,
    "h": 298.9
  },
  "luminance": 0.05626
}

Semantic roles & 50–950 ramp

primary
#592399
secondary
#90BE59
accent
#E6429B
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #592399

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

Preview Lab → · Contrast checker → · Palette generator →

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