#592987#592987

#592987 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.7% C 0.150 H 303.6°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#592987
RGBrgb(89, 41, 135)
HSLhsl(271, 53%, 35%)
HSVhsv(271, 70%, 53%)
CMYKcmyk(34.1%, 69.6%, 0%, 47.1%)
CIE-LABlab(28.00, 40.60, -44.07)
CIE-LCHlch(28.00, 59.92, 312.66°)
OKLaboklab(39.72% 0.0833 -0.1252)
OKLCHoklch(39.72% 0.15 303.6)
XYZxyz(9.2849, 5.4590, 23.4815)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#592987 #578729
analogous
#2A2987 #592987 #872986
triadic
#592987 #875929 #298759
tetradic
#592987 #872A29 #578729 #298687
square
#592987 #872A29 #578729 #298687
split-complementary
#592987 #868729 #29872A
monochromatic
#1B0C29 #3A1B58 #592987 #7837B6 #965DCE

Accessibility & contrast

On white

10.04
#592987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#592987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #592987
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##592987#FFFFFF#000000##FFFFFF
##5929871.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418A
Deuteranopia (green-blind)
#024285
Tritanopia (blue-blind)
#503E54
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #592987;
/* rgb */ color: rgb(89, 41, 135);
/* oklch */ color: oklch(39.7% 0.150 303.6);
Tailwind
colors: {
  custom: {
    50: '#8c66ab',
    500: '#592987',
    950: '#000000',
  },
}
SCSS
$custom: #592987;
$custom-light: #8c66ab;
$custom-dark: #000000;
JSON
{
  "hex": "#592987",
  "rgb": {
    "r": 89,
    "g": 41,
    "b": 135
  },
  "hsl": {
    "h": 270.638,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39719,
    "c": 0.1504,
    "h": 303.6
  },
  "luminance": 0.05459
}

Semantic roles & 50–950 ramp

primary
#592987
secondary
#85B359
accent
#DD4B92
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #592987

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

Preview Lab → · Contrast checker → · Palette generator →

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