#592397#592397

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

Color values

HEX#592397
RGBrgb(89, 35, 151)
HSLhsl(268, 62%, 36%)
HSVhsv(268, 77%, 59%)
CMYKcmyk(41.1%, 76.8%, 0%, 40.8%)
CIE-LABlab(28.27, 47.58, -53.52)
CIE-LCHlch(28.27, 71.61, 311.64°)
OKLaboklab(40.32% 0.0863 -0.153)
OKLCHoklch(40.32% 0.176 299.4)
XYZxyz(10.3054, 5.5602, 29.8024)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#592397 #619723
analogous
#232797 #592397 #932397
triadic
#592397 #975923 #239759
tetradic
#592397 #972327 #619723 #239793
square
#592397 #972327 #619723 #239793
split-complementary
#592397 #979323 #279723
monochromatic
#1E0C34 #3C1765 #592397 #762FC9 #965BD9

Accessibility & contrast

On white

9.94
#592397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#592397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #592397
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##592397#FFFFFF#000000##FFFFFF
##5923971.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439A
Deuteranopia (green-blind)
#004295
Tritanopia (blue-blind)
#4A415C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #592397;
/* rgb */ color: rgb(89, 35, 151);
/* oklch */ color: oklch(40.3% 0.176 299.4);
Tailwind
colors: {
  custom: {
    50: '#8e64b7',
    500: '#592397',
    950: '#000000',
  },
}
SCSS
$custom: #592397;
$custom-light: #8e64b7;
$custom-dark: #000000;
JSON
{
  "hex": "#592397",
  "rgb": {
    "r": 89,
    "g": 35,
    "b": 151
  },
  "hsl": {
    "h": 267.931,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.40315,
    "c": 0.17565,
    "h": 299.4
  },
  "luminance": 0.0556
}

Semantic roles & 50–950 ramp

primary
#592397
secondary
#8EBE58
accent
#E5429A
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #592397

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

Preview Lab → · Contrast checker → · Palette generator →

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