#592897#592897

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

Color values

HEX#592897
RGBrgb(89, 40, 151)
HSLhsl(266, 58%, 37%)
HSVhsv(266, 74%, 59%)
CMYKcmyk(41.1%, 73.5%, 0%, 40.8%)
CIE-LABlab(29.10, 45.25, -52.18)
CIE-LCHlch(29.10, 69.07, 310.93°)
OKLaboklab(40.89% 0.0816 -0.1491)
OKLCHoklch(40.89% 0.17 298.7)
XYZxyz(10.4631, 5.8756, 29.8550)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#592897 #669728
analogous
#282F97 #592897 #902897
triadic
#592897 #975928 #289759
tetradic
#592897 #97282F #669728 #289790
square
#592897 #97282F #669728 #289790
split-complementary
#592897 #979028 #2F9728
monochromatic
#200E36 #3C1B67 #592897 #7635C7 #9664D6

Accessibility & contrast

On white

9.65
#592897 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#592897 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #592897
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##592897#FFFFFF#000000##FFFFFF
##5928971.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #592897;
/* rgb */ color: rgb(89, 40, 151);
/* oklch */ color: oklch(40.9% 0.170 298.7);
Tailwind
colors: {
  custom: {
    50: '#8e67b6',
    500: '#592897',
    950: '#000000',
  },
}
SCSS
$custom: #592897;
$custom-light: #8e67b6;
$custom-dark: #000000;
JSON
{
  "hex": "#592897",
  "rgb": {
    "r": 89,
    "g": 40,
    "b": 151
  },
  "hsl": {
    "h": 266.486,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40895,
    "c": 0.16994,
    "h": 298.7
  },
  "luminance": 0.05876
}

Semantic roles & 50–950 ramp

primary
#592897
secondary
#93BC5F
accent
#E1469D
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #592897

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

Preview Lab → · Contrast checker → · Palette generator →

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