#592887#592887

#592887 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.6% C 0.152 H 303.8°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#592887
RGBrgb(89, 40, 135)
HSLhsl(271, 54%, 34%)
HSVhsv(271, 70%, 53%)
CMYKcmyk(34.1%, 70.4%, 0%, 47.1%)
CIE-LABlab(27.82, 41.11, -44.37)
CIE-LCHlch(27.82, 60.49, 312.82°)
OKLaboklab(39.59% 0.0844 -0.1261)
OKLCHoklch(39.59% 0.152 303.8)
XYZxyz(9.2508, 5.3907, 23.4701)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#592887 #568728
analogous
#292887 #592887 #872886
triadic
#592887 #875928 #288759
tetradic
#592887 #872928 #568728 #288687
square
#592887 #872928 #568728 #288687
split-complementary
#592887 #868728 #288729
monochromatic
#1B0C29 #3A1A58 #592887 #7836B6 #975BCE

Accessibility & contrast

On white

10.10
#592887 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #592887
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##592887#FFFFFF#000000##FFFFFF
##5928871.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #592887;
/* rgb */ color: rgb(89, 40, 135);
/* oklch */ color: oklch(39.6% 0.152 303.8);
Tailwind
colors: {
  custom: {
    50: '#8c66ab',
    500: '#592887',
    950: '#000000',
  },
}
SCSS
$custom: #592887;
$custom-light: #8c66ab;
$custom-dark: #000000;
JSON
{
  "hex": "#592887",
  "rgb": {
    "r": 89,
    "g": 40,
    "b": 135
  },
  "hsl": {
    "h": 270.947,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.39587,
    "c": 0.15175,
    "h": 303.8
  },
  "luminance": 0.05391
}

Semantic roles & 50–950 ramp

primary
#592887
secondary
#84B457
accent
#DE4A92
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #592887

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

Preview Lab → · Contrast checker → · Palette generator →

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