#592888#592888

#592888 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.7% C 0.153 H 303.5°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#592888
RGBrgb(89, 40, 136)
HSLhsl(271, 55%, 35%)
HSVhsv(271, 71%, 53%)
CMYKcmyk(34.6%, 70.6%, 0%, 46.7%)
CIE-LABlab(27.90, 41.37, -44.86)
CIE-LCHlch(27.90, 61.03, 312.68°)
OKLaboklab(39.67% 0.0843 -0.1276)
OKLCHoklch(39.67% 0.153 303.5)
XYZxyz(9.3215, 5.4190, 23.8427)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#592888 #578828
analogous
#292888 #592888 #882887
triadic
#592888 #885928 #288859
tetradic
#592888 #882928 #578828 #288788
square
#592888 #882928 #578828 #288788
split-complementary
#592888 #878828 #288829
monochromatic
#1B0C29 #3A1A59 #592888 #7836B7 #965BCF

Accessibility & contrast

On white

10.08
#592888 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#592888 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #592888
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##592888#FFFFFF#000000##FFFFFF
##5928881.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418B
Deuteranopia (green-blind)
#004286
Tritanopia (blue-blind)
#503E55
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #592888;
/* rgb */ color: rgb(89, 40, 136);
/* oklch */ color: oklch(39.7% 0.153 303.5);
Tailwind
colors: {
  custom: {
    50: '#8c66ab',
    500: '#592888',
    950: '#000000',
  },
}
SCSS
$custom: #592888;
$custom-light: #8c66ab;
$custom-dark: #000000;
JSON
{
  "hex": "#592888",
  "rgb": {
    "r": 89,
    "g": 40,
    "b": 136
  },
  "hsl": {
    "h": 270.625,
    "s": 54.545,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39666,
    "c": 0.1529,
    "h": 303.5
  },
  "luminance": 0.05419
}

Semantic roles & 50–950 ramp

primary
#592888
secondary
#85B458
accent
#DE4A92
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #592888

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

Preview Lab → · Contrast checker → · Palette generator →

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