#592498#592498

#592498 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.5% C 0.176 H 299.0°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#592498
RGBrgb(89, 36, 152)
HSLhsl(267, 62%, 37%)
HSVhsv(267, 76%, 60%)
CMYKcmyk(41.4%, 76.3%, 0%, 40.4%)
CIE-LABlab(28.52, 47.39, -53.74)
CIE-LCHlch(28.52, 71.65, 311.41°)
OKLaboklab(40.51% 0.0852 -0.1536)
OKLCHoklch(40.51% 0.176 299)
XYZxyz(10.4168, 5.6525, 30.2419)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#592498 #639824
analogous
#242998 #592498 #932498
triadic
#592498 #985924 #249859
tetradic
#592498 #982429 #639824 #249893
square
#592498 #982429 #639824 #249893
split-complementary
#592498 #989324 #299824
monochromatic
#1F0D35 #3C1867 #592498 #7630C9 #965ED9

Accessibility & contrast

On white

9.86
#592498 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #592498
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##592498#FFFFFF#000000##FFFFFF
##5924981.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439B
Deuteranopia (green-blind)
#004296
Tritanopia (blue-blind)
#4A425C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #592498;
/* rgb */ color: rgb(89, 36, 152);
/* oklch */ color: oklch(40.5% 0.176 299.0);
Tailwind
colors: {
  custom: {
    50: '#8e64b7',
    500: '#592498',
    950: '#000000',
  },
}
SCSS
$custom: #592498;
$custom-light: #8e64b7;
$custom-dark: #000000;
JSON
{
  "hex": "#592498",
  "rgb": {
    "r": 89,
    "g": 36,
    "b": 152
  },
  "hsl": {
    "h": 267.414,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40513,
    "c": 0.17564,
    "h": 299
  },
  "luminance": 0.05653
}

Semantic roles & 50–950 ramp

primary
#592498
secondary
#90BE5A
accent
#E5439B
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #592498

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

Preview Lab → · Contrast checker → · Palette generator →

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