#592497#592497

#592497 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.4% C 0.175 H 299.3°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#592497
RGBrgb(89, 36, 151)
HSLhsl(268, 61%, 37%)
HSVhsv(268, 76%, 59%)
CMYKcmyk(41.1%, 76.2%, 0%, 40.8%)
CIE-LABlab(28.43, 47.13, -53.26)
CIE-LCHlch(28.43, 71.12, 311.51°)
OKLaboklab(40.43% 0.0854 -0.1522)
OKLCHoklch(40.43% 0.175 299.3)
XYZxyz(10.3352, 5.6198, 29.8124)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#592497 #629724
analogous
#242997 #592497 #932497
triadic
#592497 #975924 #249759
tetradic
#592497 #972429 #629724 #249793
square
#592497 #972429 #629724 #249793
split-complementary
#592497 #979324 #299724
monochromatic
#1F0C34 #3C1866 #592497 #7630C8 #965DD8

Accessibility & contrast

On white

9.89
#592497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#592497 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #592497
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##592497#FFFFFF#000000##FFFFFF
##5924971.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #592497;
/* rgb */ color: rgb(89, 36, 151);
/* oklch */ color: oklch(40.4% 0.175 299.3);
Tailwind
colors: {
  custom: {
    50: '#8e64b6',
    500: '#592497',
    950: '#000000',
  },
}
SCSS
$custom: #592497;
$custom-light: #8e64b6;
$custom-dark: #000000;
JSON
{
  "hex": "#592497",
  "rgb": {
    "r": 89,
    "g": 36,
    "b": 151
  },
  "hsl": {
    "h": 267.652,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40426,
    "c": 0.17455,
    "h": 299.3
  },
  "luminance": 0.0562
}

Semantic roles & 50–950 ramp

primary
#592497
secondary
#8FBD5A
accent
#E5439A
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #592497

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

Preview Lab → · Contrast checker → · Palette generator →

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