#592988#592988

#592988 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.8% C 0.152 H 303.3°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#592988
RGBrgb(89, 41, 136)
HSLhsl(270, 54%, 35%)
HSVhsv(270, 70%, 53%)
CMYKcmyk(34.6%, 69.9%, 0%, 46.7%)
CIE-LABlab(28.08, 40.86, -44.57)
CIE-LCHlch(28.08, 60.46, 312.51°)
OKLaboklab(39.8% 0.0832 -0.1267)
OKLCHoklch(39.8% 0.152 303.3)
XYZxyz(9.3557, 5.4873, 23.8541)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#592988 #588829
analogous
#2A2988 #592988 #882987
triadic
#592988 #885929 #298859
tetradic
#592988 #882A29 #588829 #298788
square
#592988 #882A29 #588829 #298788
split-complementary
#592988 #878829 #29882A
monochromatic
#1B0D2A #3A1B59 #592988 #7837B7 #965DCE

Accessibility & contrast

On white

10.01
#592988 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#592988 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #592988
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##592988#FFFFFF#000000##FFFFFF
##5929881.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #592988;
/* rgb */ color: rgb(89, 41, 136);
/* oklch */ color: oklch(39.8% 0.152 303.3);
Tailwind
colors: {
  custom: {
    50: '#8c66ab',
    500: '#592988',
    950: '#000000',
  },
}
SCSS
$custom: #592988;
$custom-light: #8c66ab;
$custom-dark: #000000;
JSON
{
  "hex": "#592988",
  "rgb": {
    "r": 89,
    "g": 41,
    "b": 136
  },
  "hsl": {
    "h": 270.316,
    "s": 53.672,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39797,
    "c": 0.15155,
    "h": 303.3
  },
  "luminance": 0.05487
}

Semantic roles & 50–950 ramp

primary
#592988
secondary
#86B459
accent
#DD4B93
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #592988

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

Preview Lab → · Contrast checker → · Palette generator →

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