#592A97#592A97

#592A97 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.1% C 0.168 H 298.4°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#592A97
RGBrgb(89, 42, 151)
HSLhsl(266, 56%, 38%)
HSVhsv(266, 72%, 59%)
CMYKcmyk(41.1%, 72.2%, 0%, 40.8%)
CIE-LABlab(29.45, 44.26, -51.61)
CIE-LCHlch(29.45, 67.99, 310.62°)
OKLaboklab(41.14% 0.0796 -0.1474)
OKLCHoklch(41.14% 0.168 298.4)
XYZxyz(10.5323, 6.0140, 29.8781)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#592A97 #68972A
analogous
#2A3197 #592A97 #902A97
triadic
#592A97 #97592A #2A9759
tetradic
#592A97 #972A31 #68972A #2A9790
square
#592A97 #972A31 #68972A #2A9790
split-complementary
#592A97 #97902A #31972A
monochromatic
#210F37 #3D1D67 #592A97 #7537C7 #9667D5

Accessibility & contrast

On white

9.53
#592A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#592A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #592A97
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##592A97#FFFFFF#000000##FFFFFF
##592A971.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #592a97;
/* rgb */ color: rgb(89, 42, 151);
/* oklch */ color: oklch(41.1% 0.168 298.4);
Tailwind
colors: {
  custom: {
    50: '#8e68b6',
    500: '#592a97',
    950: '#000000',
  },
}
SCSS
$custom: #592a97;
$custom-light: #8e68b6;
$custom-dark: #000000;
JSON
{
  "hex": "#592a97",
  "rgb": {
    "r": 89,
    "g": 42,
    "b": 151
  },
  "hsl": {
    "h": 265.872,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.41144,
    "c": 0.16751,
    "h": 298.4
  },
  "luminance": 0.06014
}

Semantic roles & 50–950 ramp

primary
#592A97
secondary
#95BB62
accent
#E0489E
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #592A97

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

Preview Lab → · Contrast checker → · Palette generator →

#592A97 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva