#592A78#592A78

#592A78 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.7% C 0.132 H 309.3°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#592A78
RGBrgb(89, 42, 120)
HSLhsl(276, 48%, 32%)
HSVhsv(276, 65%, 47%)
CMYKcmyk(25.8%, 65%, 0%, 52.9%)
CIE-LABlab(27.12, 36.30, -36.07)
CIE-LCHlch(27.12, 51.17, 315.19°)
OKLaboklab(38.74% 0.0833 -0.1017)
OKLCHoklch(38.74% 0.132 309.3)
XYZxyz(8.3373, 5.1360, 18.3178)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#592A78 #49782A
analogous
#322A78 #592A78 #782A70
triadic
#592A78 #78592A #2A7859
tetradic
#592A78 #78322A #49782A #2A7078
square
#592A78 #78322A #49782A #2A7078
split-complementary
#592A78 #70782A #2A7832
monochromatic
#160A1D #371A4B #592A78 #7B3AA5 #9958C5

Accessibility & contrast

On white

10.36
#592A78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#592A78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #592A78
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##592A78#FFFFFF#000000##FFFFFF
##592A781.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043E7A
Deuteranopia (green-blind)
#1F4176
Tritanopia (blue-blind)
#55394D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #592a78;
/* rgb */ color: rgb(89, 42, 120);
/* oklch */ color: oklch(38.7% 0.132 309.3);
Tailwind
colors: {
  custom: {
    50: '#8b679f',
    500: '#592a78',
    950: '#000000',
  },
}
SCSS
$custom: #592a78;
$custom-light: #8b679f;
$custom-dark: #000000;
JSON
{
  "hex": "#592a78",
  "rgb": {
    "r": 89,
    "g": 42,
    "b": 120
  },
  "hsl": {
    "h": 276.154,
    "s": 48.148,
    "l": 31.765
  },
  "oklch": {
    "l": 0.38738,
    "c": 0.13151,
    "h": 309.3
  },
  "luminance": 0.05136
}

Semantic roles & 50–950 ramp

primary
#592A78
secondary
#76AA54
accent
#D85086
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060E
muted
#7D7A7E

Preview Lab

Preview with #592A78

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

Preview Lab → · Contrast checker → · Palette generator →

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