#592D78#592D78

#592D78 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.2% C 0.127 H 308.7°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#592D78
RGBrgb(89, 45, 120)
HSLhsl(275, 45%, 32%)
HSVhsv(275, 63%, 47%)
CMYKcmyk(25.8%, 62.5%, 0%, 52.9%)
CIE-LABlab(27.73, 34.65, -35.09)
CIE-LCHlch(27.73, 49.32, 314.64°)
OKLaboklab(39.18% 0.0793 -0.0989)
OKLCHoklch(39.18% 0.127 308.7)
XYZxyz(8.4477, 5.3568, 18.3546)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#592D78 #4C782D
analogous
#332D78 #592D78 #782D72
triadic
#592D78 #78592D #2D7859
tetradic
#592D78 #78332D #4C782D #2D7278
square
#592D78 #78332D #4C782D #2D7278
split-complementary
#592D78 #72782D #2D7833
monochromatic
#170C1F #381C4B #592D78 #7A3EA5 #985DC2

Accessibility & contrast

On white

10.14
#592D78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#592D78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #592D78
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##592D78#FFFFFF#000000##FFFFFF
##592D781.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E407A
Deuteranopia (green-blind)
#234276
Tritanopia (blue-blind)
#553B4E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #592d78;
/* rgb */ color: rgb(89, 45, 120);
/* oklch */ color: oklch(39.2% 0.127 308.7);
Tailwind
colors: {
  custom: {
    50: '#8a689f',
    500: '#592d78',
    950: '#000000',
  },
}
SCSS
$custom: #592d78;
$custom-light: #8a689f;
$custom-dark: #000000;
JSON
{
  "hex": "#592d78",
  "rgb": {
    "r": 89,
    "g": 45,
    "b": 120
  },
  "hsl": {
    "h": 275.2,
    "s": 45.455,
    "l": 32.353
  },
  "oklch": {
    "l": 0.3918,
    "c": 0.12676,
    "h": 308.7
  },
  "luminance": 0.05357
}

Semantic roles & 50–950 ramp

primary
#592D78
secondary
#79A958
accent
#D55389
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060E
muted
#7D7A7E

Preview Lab

Preview with #592D78

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

Preview Lab → · Contrast checker → · Palette generator →

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