#592F84#592F84

#592F84 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.3% C 0.138 H 303.5°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#592F84
RGBrgb(89, 47, 132)
HSLhsl(270, 47%, 35%)
HSVhsv(270, 64%, 52%)
CMYKcmyk(32.6%, 64.4%, 0%, 48.2%)
CIE-LABlab(28.96, 36.61, -40.65)
CIE-LCHlch(28.96, 54.70, 312.00°)
OKLaboklab(40.34% 0.0763 -0.1152)
OKLCHoklch(40.34% 0.138 303.5)
XYZxyz(9.3002, 5.8228, 22.4593)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#592F84 #5A842F
analogous
#2F3084 #592F84 #832F84
triadic
#592F84 #84592F #2F8459
tetradic
#592F84 #842F30 #5A842F #2F8483
square
#592F84 #842F30 #5A842F #2F8483
split-complementary
#592F84 #84832F #30842F
monochromatic
#1C0F2A #3B1F57 #592F84 #773FB1 #9665C8

Accessibility & contrast

On white

9.70
#592F84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#592F84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #592F84
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##592F84#FFFFFF#000000##FFFFFF
##592F841.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004387
Deuteranopia (green-blind)
#174482
Tritanopia (blue-blind)
#514155
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #592f84;
/* rgb */ color: rgb(89, 47, 132);
/* oklch */ color: oklch(40.3% 0.138 303.5);
Tailwind
colors: {
  custom: {
    50: '#8b6aa8',
    500: '#592f84',
    950: '#000000',
  },
}
SCSS
$custom: #592f84;
$custom-light: #8b6aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#592f84",
  "rgb": {
    "r": 89,
    "g": 47,
    "b": 132
  },
  "hsl": {
    "h": 269.647,
    "s": 47.486,
    "l": 35.098
  },
  "oklch": {
    "l": 0.40339,
    "c": 0.13818,
    "h": 303.5
  },
  "luminance": 0.05823
}

Semantic roles & 50–950 ramp

primary
#592F84
secondary
#88AF60
accent
#D75195
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #592F84

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

Preview Lab → · Contrast checker → · Palette generator →

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