#592A7F#592A7F

#592A7F is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.2% C 0.140 H 306.4°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#592A7F
RGBrgb(89, 42, 127)
HSLhsl(273, 50%, 33%)
HSVhsv(273, 67%, 50%)
CMYKcmyk(29.9%, 66.9%, 0%, 50.2%)
CIE-LABlab(27.61, 38.05, -39.70)
CIE-LCHlch(27.61, 54.99, 313.78°)
OKLaboklab(39.25% 0.0829 -0.1124)
OKLCHoklch(39.25% 0.14 306.4)
XYZxyz(8.7777, 5.3122, 20.6375)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#592A7F #507F2A
analogous
#2E2A7F #592A7F #7F2A7A
triadic
#592A7F #7F592A #2A7F59
tetradic
#592A7F #7F2E2A #507F2A #2A7A7F
square
#592A7F #7F2E2A #507F2A #2A7A7F
split-complementary
#592A7F #7A7F2A #2A7F2E
monochromatic
#190C23 #391B51 #592A7F #7939AD #985BC9

Accessibility & contrast

On white

10.18
#592A7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#592A7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #592A7F
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##592A7F#FFFFFF#000000##FFFFFF
##592A7F1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004082
Deuteranopia (green-blind)
#16417D
Tritanopia (blue-blind)
#533C50
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #592a7f;
/* rgb */ color: rgb(89, 42, 127);
/* oklch */ color: oklch(39.2% 0.140 306.4);
Tailwind
colors: {
  custom: {
    50: '#8b67a5',
    500: '#592a7f',
    950: '#000000',
  },
}
SCSS
$custom: #592a7f;
$custom-light: #8b67a5;
$custom-dark: #000000;
JSON
{
  "hex": "#592a7f",
  "rgb": {
    "r": 89,
    "g": 42,
    "b": 127
  },
  "hsl": {
    "h": 273.176,
    "s": 50.296,
    "l": 33.137
  },
  "oklch": {
    "l": 0.39246,
    "c": 0.13968,
    "h": 306.4
  },
  "luminance": 0.05312
}

Semantic roles & 50–950 ramp

primary
#592A7F
secondary
#7EAE57
accent
#DA4E8C
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #592A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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