#592496#592496

#592496 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.3% C 0.173 H 299.6°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#592496
RGBrgb(89, 36, 150)
HSLhsl(268, 61%, 36%)
HSVhsv(268, 76%, 59%)
CMYKcmyk(40.7%, 76%, 0%, 41.2%)
CIE-LABlab(28.35, 46.88, -52.79)
CIE-LCHlch(28.35, 70.60, 311.61°)
OKLaboklab(40.34% 0.0857 -0.1508)
OKLCHoklch(40.34% 0.173 299.6)
XYZxyz(10.2543, 5.5875, 29.3865)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#592496 #619624
analogous
#242896 #592496 #922496
triadic
#592496 #965924 #249659
tetradic
#592496 #962428 #619624 #249692
square
#592496 #962428 #619624 #249692
split-complementary
#592496 #969224 #289624
monochromatic
#1E0C33 #3C1865 #592496 #7630C7 #965CD8

Accessibility & contrast

On white

9.92
#592496 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#592496 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #592496
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##592496#FFFFFF#000000##FFFFFF
##5924961.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004399
Deuteranopia (green-blind)
#004294
Tritanopia (blue-blind)
#4B415B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #592496;
/* rgb */ color: rgb(89, 36, 150);
/* oklch */ color: oklch(40.3% 0.173 299.6);
Tailwind
colors: {
  custom: {
    50: '#8e64b6',
    500: '#592496',
    950: '#000000',
  },
}
SCSS
$custom: #592496;
$custom-light: #8e64b6;
$custom-dark: #000000;
JSON
{
  "hex": "#592496",
  "rgb": {
    "r": 89,
    "g": 36,
    "b": 150
  },
  "hsl": {
    "h": 267.895,
    "s": 61.29,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4034,
    "c": 0.17346,
    "h": 299.6
  },
  "luminance": 0.05588
}

Semantic roles & 50–950 ramp

primary
#592496
secondary
#8EBD59
accent
#E4439A
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #592496

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

Preview Lab → · Contrast checker → · Palette generator →

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