#592A7E#592A7E

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

Color values

HEX#592A7E
RGBrgb(89, 42, 126)
HSLhsl(274, 50%, 33%)
HSVhsv(274, 67%, 49%)
CMYKcmyk(29.4%, 66.7%, 0%, 50.6%)
CIE-LABlab(27.54, 37.80, -39.19)
CIE-LCHlch(27.54, 54.44, 313.96°)
OKLaboklab(39.17% 0.083 -0.1109)
OKLCHoklch(39.17% 0.139 306.8)
XYZxyz(8.7129, 5.2862, 20.2960)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#592A7E #4F7E2A
analogous
#2F2A7E #592A7E #7E2A79
triadic
#592A7E #7E592A #2A7E59
tetradic
#592A7E #7E2F2A #4F7E2A #2A797E
square
#592A7E #7E2F2A #4F7E2A #2A797E
split-complementary
#592A7E #797E2A #2A7E2F
monochromatic
#180B22 #391B50 #592A7E #7939AC #985AC8

Accessibility & contrast

On white

10.21
#592A7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #592A7E
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##592A7E#FFFFFF#000000##FFFFFF
##592A7E1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F81
Deuteranopia (green-blind)
#18417C
Tritanopia (blue-blind)
#533C50
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #592a7e;
/* rgb */ color: rgb(89, 42, 126);
/* oklch */ color: oklch(39.2% 0.139 306.8);
Tailwind
colors: {
  custom: {
    50: '#8b67a4',
    500: '#592a7e',
    950: '#000000',
  },
}
SCSS
$custom: #592a7e;
$custom-light: #8b67a4;
$custom-dark: #000000;
JSON
{
  "hex": "#592a7e",
  "rgb": {
    "r": 89,
    "g": 42,
    "b": 126
  },
  "hsl": {
    "h": 273.571,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.39172,
    "c": 0.13852,
    "h": 306.8
  },
  "luminance": 0.05286
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #592A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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