#592891#592891

#592891 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.4% C 0.163 H 300.5°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#592891
RGBrgb(89, 40, 145)
HSLhsl(268, 57%, 36%)
HSVhsv(268, 72%, 57%)
CMYKcmyk(38.6%, 72.4%, 0%, 43.1%)
CIE-LABlab(28.61, 43.69, -49.29)
CIE-LCHlch(28.61, 65.86, 311.55°)
OKLaboklab(40.39% 0.0828 -0.1406)
OKLCHoklch(40.39% 0.163 300.5)
XYZxyz(9.9882, 5.6857, 27.3538)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#592891 #609128
analogous
#282C91 #592891 #8E2891
triadic
#592891 #915928 #289159
tetradic
#592891 #91282C #609128 #28918E
square
#592891 #91282C #609128 #28918E
split-complementary
#592891 #918E28 #2C9128
monochromatic
#1E0E31 #3C1B61 #592891 #7635C1 #9660D3

Accessibility & contrast

On white

9.83
#592891 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#592891 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #592891
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##592891#FFFFFF#000000##FFFFFF
##5928911.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004394
Deuteranopia (green-blind)
#00438F
Tritanopia (blue-blind)
#4C425A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #592891;
/* rgb */ color: rgb(89, 40, 145);
/* oklch */ color: oklch(40.4% 0.163 300.5);
Tailwind
colors: {
  custom: {
    50: '#8d66b2',
    500: '#592891',
    950: '#000000',
  },
}
SCSS
$custom: #592891;
$custom-light: #8d66b2;
$custom-dark: #000000;
JSON
{
  "hex": "#592891",
  "rgb": {
    "r": 89,
    "g": 40,
    "b": 145
  },
  "hsl": {
    "h": 268,
    "s": 56.757,
    "l": 36.275
  },
  "oklch": {
    "l": 0.40393,
    "c": 0.16315,
    "h": 300.5
  },
  "luminance": 0.05686
}

Semantic roles & 50–950 ramp

primary
#592891
secondary
#8DB95C
accent
#E04899
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #592891

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

Preview Lab → · Contrast checker → · Palette generator →

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