#592F97#592F97

#592F97 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.8% C 0.161 H 297.5°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#592F97
RGBrgb(89, 47, 151)
HSLhsl(264, 53%, 39%)
HSVhsv(264, 69%, 59%)
CMYKcmyk(41.1%, 68.9%, 0%, 40.8%)
CIE-LABlab(30.38, 41.68, -50.09)
CIE-LCHlch(30.38, 65.16, 309.76°)
OKLaboklab(41.81% 0.0743 -0.143)
OKLCHoklch(41.81% 0.161 297.5)
XYZxyz(10.7208, 6.3911, 29.9409)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#592F97 #6D972F
analogous
#2F3997 #592F97 #8D2F97
triadic
#592F97 #97592F #2F9759
tetradic
#592F97 #972F39 #6D972F #2F978D
square
#592F97 #972F39 #6D972F #2F978D
split-complementary
#592F97 #978D2F #39972F
monochromatic
#22123A #3D2068 #592F97 #7540C3 #976ED2

Accessibility & contrast

On white

9.22
#592F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#592F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #592F97
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##592F97#FFFFFF#000000##FFFFFF
##592F971.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489A
Deuteranopia (green-blind)
#004695
Tritanopia (blue-blind)
#4A485F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #592f97;
/* rgb */ color: rgb(89, 47, 151);
/* oklch */ color: oklch(41.8% 0.161 297.5);
Tailwind
colors: {
  custom: {
    50: '#8d6bb6',
    500: '#592f97',
    950: '#000000',
  },
}
SCSS
$custom: #592f97;
$custom-light: #8d6bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#592f97",
  "rgb": {
    "r": 89,
    "g": 47,
    "b": 151
  },
  "hsl": {
    "h": 264.231,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.41808,
    "c": 0.16113,
    "h": 297.5
  },
  "luminance": 0.06391
}

Semantic roles & 50–950 ramp

primary
#592F97
secondary
#99B968
accent
#DC4CA2
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0711
muted
#7E7A80

Preview Lab

Preview with #592F97

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

Preview Lab → · Contrast checker → · Palette generator →

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