#592097#592097

#592097 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.0% C 0.179 H 299.8°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#592097
RGBrgb(89, 32, 151)
HSLhsl(269, 65%, 36%)
HSVhsv(269, 79%, 59%)
CMYKcmyk(41.1%, 78.8%, 0%, 40.8%)
CIE-LABlab(27.82, 48.88, -54.26)
CIE-LCHlch(27.82, 73.03, 312.02°)
OKLaboklab(40% 0.089 -0.1551)
OKLCHoklch(40% 0.179 299.8)
XYZxyz(10.2208, 5.3911, 29.7743)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#592097 #5E9720
analogous
#202397 #592097 #942097
triadic
#592097 #975920 #209759
tetradic
#592097 #972023 #5E9720 #209794
square
#592097 #972023 #5E9720 #209794
split-complementary
#592097 #979420 #239720
monochromatic
#1D0B32 #3B1564 #592097 #772BC9 #9656DB

Accessibility & contrast

On white

10.10
#592097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#592097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #592097
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##592097#FFFFFF#000000##FFFFFF
##5920971.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419A
Deuteranopia (green-blind)
#004195
Tritanopia (blue-blind)
#4A405B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #592097;
/* rgb */ color: rgb(89, 32, 151);
/* oklch */ color: oklch(40.0% 0.179 299.8);
Tailwind
colors: {
  custom: {
    50: '#8e62b7',
    500: '#592097',
    950: '#000000',
  },
}
SCSS
$custom: #592097;
$custom-light: #8e62b7;
$custom-dark: #000000;
JSON
{
  "hex": "#592097",
  "rgb": {
    "r": 89,
    "g": 32,
    "b": 151
  },
  "hsl": {
    "h": 268.739,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39998,
    "c": 0.17882,
    "h": 299.8
  },
  "luminance": 0.05391
}

Semantic roles & 50–950 ramp

primary
#592097
secondary
#8CBF54
accent
#E84097
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #592097

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

Preview Lab → · Contrast checker → · Palette generator →

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