#592A7D#592A7D

#592A7D is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.1% C 0.137 H 307.2°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#592A7D
RGBrgb(89, 42, 125)
HSLhsl(274, 50%, 33%)
HSVhsv(274, 66%, 49%)
CMYKcmyk(28.8%, 66.4%, 0%, 51%)
CIE-LABlab(27.46, 37.55, -38.67)
CIE-LCHlch(27.46, 53.90, 314.15°)
OKLaboklab(39.1% 0.0831 -0.1094)
OKLCHoklch(39.1% 0.137 307.2)
XYZxyz(8.6487, 5.2605, 19.9578)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#592A7D #4E7D2A
analogous
#2F2A7D #592A7D #7D2A77
triadic
#592A7D #7D592A #2A7D59
tetradic
#592A7D #7D2F2A #4E7D2A #2A777D
square
#592A7D #7D2F2A #4E7D2A #2A777D
split-complementary
#592A7D #777D2A #2A7D2F
monochromatic
#180B21 #381B4F #592A7D #7A39AB #985AC8

Accessibility & contrast

On white

10.23
#592A7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#592A7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #592A7D
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##592A7D#FFFFFF#000000##FFFFFF
##592A7D1.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F80
Deuteranopia (green-blind)
#19417B
Tritanopia (blue-blind)
#533B4F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #592a7d;
/* rgb */ color: rgb(89, 42, 125);
/* oklch */ color: oklch(39.1% 0.137 307.2);
Tailwind
colors: {
  custom: {
    50: '#8b67a3',
    500: '#592a7d',
    950: '#000000',
  },
}
SCSS
$custom: #592a7d;
$custom-light: #8b67a3;
$custom-dark: #000000;
JSON
{
  "hex": "#592a7d",
  "rgb": {
    "r": 89,
    "g": 42,
    "b": 125
  },
  "hsl": {
    "h": 273.976,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.39099,
    "c": 0.13735,
    "h": 307.2
  },
  "luminance": 0.0526
}

Semantic roles & 50–950 ramp

primary
#592A7D
secondary
#7CAD56
accent
#D94F8B
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #592A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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