#592E97#592E97

#592E97 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.7% C 0.162 H 297.7°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#592E97
RGBrgb(89, 46, 151)
HSLhsl(265, 53%, 39%)
HSVhsv(265, 70%, 59%)
CMYKcmyk(41.1%, 69.5%, 0%, 40.8%)
CIE-LABlab(30.19, 42.21, -50.41)
CIE-LCHlch(30.19, 65.74, 309.94°)
OKLaboklab(41.67% 0.0754 -0.1439)
OKLCHoklch(41.67% 0.162 297.7)
XYZxyz(10.6813, 6.3120, 29.9277)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#592E97 #6C972E
analogous
#2E3897 #592E97 #8D2E97
triadic
#592E97 #97592E #2E9759
tetradic
#592E97 #972E38 #6C972E #2E978D
square
#592E97 #972E38 #6C972E #2E978D
split-complementary
#592E97 #978D2E #38972E
monochromatic
#221139 #3D2068 #592E97 #753EC4 #976DD2

Accessibility & contrast

On white

9.28
#592E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#592E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #592E97
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##592E97#FFFFFF#000000##FFFFFF
##592E971.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479A
Deuteranopia (green-blind)
#004695
Tritanopia (blue-blind)
#4A475F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #592e97;
/* rgb */ color: rgb(89, 46, 151);
/* oklch */ color: oklch(41.7% 0.162 297.7);
Tailwind
colors: {
  custom: {
    50: '#8d6ab6',
    500: '#592e97',
    950: '#000000',
  },
}
SCSS
$custom: #592e97;
$custom-light: #8d6ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#592e97",
  "rgb": {
    "r": 89,
    "g": 46,
    "b": 151
  },
  "hsl": {
    "h": 264.571,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.41671,
    "c": 0.16244,
    "h": 297.7
  },
  "luminance": 0.06312
}

Semantic roles & 50–950 ramp

primary
#592E97
secondary
#98BA67
accent
#DD4BA1
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0711
muted
#7E7A80

Preview Lab

Preview with #592E97

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

Preview Lab → · Contrast checker → · Palette generator →

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