#592997#592997

#592997 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.0% C 0.169 H 298.5°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#592997
RGBrgb(89, 41, 151)
HSLhsl(266, 57%, 38%)
HSVhsv(266, 73%, 59%)
CMYKcmyk(41.1%, 72.8%, 0%, 40.8%)
CIE-LABlab(29.27, 44.76, -51.90)
CIE-LCHlch(29.27, 68.53, 310.78°)
OKLaboklab(41.02% 0.0806 -0.1482)
OKLCHoklch(41.02% 0.169 298.5)
XYZxyz(10.4973, 5.9439, 29.8664)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#592997 #679729
analogous
#293097 #592997 #902997
triadic
#592997 #975929 #299759
tetradic
#592997 #972930 #679729 #299790
square
#592997 #972930 #679729 #299790
split-complementary
#592997 #979029 #309729
monochromatic
#200F37 #3D1C67 #592997 #7536C7 #9665D5

Accessibility & contrast

On white

9.59
#592997 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#592997 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #592997
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##592997#FFFFFF#000000##FFFFFF
##5929971.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459A
Deuteranopia (green-blind)
#004495
Tritanopia (blue-blind)
#4A445D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #592997;
/* rgb */ color: rgb(89, 41, 151);
/* oklch */ color: oklch(41.0% 0.169 298.5);
Tailwind
colors: {
  custom: {
    50: '#8e67b6',
    500: '#592997',
    950: '#000000',
  },
}
SCSS
$custom: #592997;
$custom-light: #8e67b6;
$custom-dark: #000000;
JSON
{
  "hex": "#592997",
  "rgb": {
    "r": 89,
    "g": 41,
    "b": 151
  },
  "hsl": {
    "h": 266.182,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.41019,
    "c": 0.16874,
    "h": 298.5
  },
  "luminance": 0.05944
}

Semantic roles & 50–950 ramp

primary
#592997
secondary
#94BB61
accent
#E1479E
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #592997

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

Preview Lab → · Contrast checker → · Palette generator →

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