#592879#592879

#592879 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.5% C 0.136 H 309.3°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#592879
RGBrgb(89, 40, 121)
HSLhsl(276, 50%, 32%)
HSVhsv(276, 67%, 47%)
CMYKcmyk(26.4%, 66.9%, 0%, 52.5%)
CIE-LABlab(26.80, 37.61, -37.22)
CIE-LCHlch(26.80, 52.91, 315.31°)
OKLaboklab(38.53% 0.0859 -0.1051)
OKLCHoklch(38.53% 0.136 309.3)
XYZxyz(8.3291, 5.0221, 18.6160)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#592879 #487928
analogous
#302879 #592879 #792871
triadic
#592879 #795928 #287959
tetradic
#592879 #793028 #487928 #287179
square
#592879 #793028 #487928 #287179
split-complementary
#592879 #717928 #287930
monochromatic
#150A1D #37194B #592879 #7B37A7 #9A55C7

Accessibility & contrast

On white

10.48
#592879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#592879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #592879
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##592879#FFFFFF#000000##FFFFFF
##5928791.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7B
Deuteranopia (green-blind)
#1C4077
Tritanopia (blue-blind)
#54384D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #592879;
/* rgb */ color: rgb(89, 40, 121);
/* oklch */ color: oklch(38.5% 0.136 309.3);
Tailwind
colors: {
  custom: {
    50: '#8b65a0',
    500: '#592879',
    950: '#000000',
  },
}
SCSS
$custom: #592879;
$custom-light: #8b65a0;
$custom-dark: #000000;
JSON
{
  "hex": "#592879",
  "rgb": {
    "r": 89,
    "g": 40,
    "b": 121
  },
  "hsl": {
    "h": 276.296,
    "s": 50.311,
    "l": 31.569
  },
  "oklch": {
    "l": 0.38528,
    "c": 0.13572,
    "h": 309.3
  },
  "luminance": 0.05022
}

Semantic roles & 50–950 ramp

primary
#592879
secondary
#75AB52
accent
#DA4E85
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060F
muted
#7D7A7E

Preview Lab

Preview with #592879

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

Preview Lab → · Contrast checker → · Palette generator →

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