#592872#592872

#592872 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.0% C 0.128 H 312.4°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#592872
RGBrgb(89, 40, 114)
HSLhsl(280, 48%, 30%)
HSVhsv(280, 65%, 45%)
CMYKcmyk(21.9%, 64.9%, 0%, 55.3%)
CIE-LABlab(26.32, 35.92, -33.52)
CIE-LCHlch(26.32, 49.14, 316.98°)
OKLaboklab(38.03% 0.0862 -0.0943)
OKLCHoklch(38.03% 0.128 312.4)
XYZxyz(7.9153, 4.8565, 16.4368)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#592872 #417228
analogous
#342872 #592872 #722866
triadic
#592872 #725928 #287259
tetradic
#592872 #723428 #417228 #286672
square
#592872 #723428 #417228 #286672
split-complementary
#592872 #667228 #287234
monochromatic
#120817 #361845 #592872 #7C389F #9C52C2

Accessibility & contrast

On white

10.65
#592872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#592872 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #592872
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##592872#FFFFFF#000000##FFFFFF
##5928721.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3C74
Deuteranopia (green-blind)
#233F70
Tritanopia (blue-blind)
#563649
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #592872;
/* rgb */ color: rgb(89, 40, 114);
/* oklch */ color: oklch(38.0% 0.128 312.4);
Tailwind
colors: {
  custom: {
    50: '#8a659b',
    500: '#592872',
    950: '#000000',
  },
}
SCSS
$custom: #592872;
$custom-light: #8a659b;
$custom-dark: #000000;
JSON
{
  "hex": "#592872",
  "rgb": {
    "r": 89,
    "g": 40,
    "b": 114
  },
  "hsl": {
    "h": 279.73,
    "s": 48.052,
    "l": 30.196
  },
  "oklch": {
    "l": 0.38031,
    "c": 0.1277,
    "h": 312.4
  },
  "luminance": 0.04856
}

Semantic roles & 50–950 ramp

primary
#592872
secondary
#6DA452
accent
#D8507E
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060E
muted
#7D7A7E

Preview Lab

Preview with #592872

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

Preview Lab → · Contrast checker → · Palette generator →

#592872 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva