#592B87#592B87

#592B87 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.0% C 0.148 H 303.3°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#592B87
RGBrgb(89, 43, 135)
HSLhsl(270, 52%, 35%)
HSVhsv(270, 68%, 53%)
CMYKcmyk(34.1%, 68.1%, 0%, 47.1%)
CIE-LABlab(28.38, 39.56, -43.46)
CIE-LCHlch(28.38, 58.76, 312.31°)
OKLaboklab(39.99% 0.081 -0.1234)
OKLCHoklch(39.99% 0.148 303.3)
XYZxyz(9.3559, 5.6009, 23.5052)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#592B87 #59872B
analogous
#2B2B87 #592B87 #872B87
triadic
#592B87 #87592B #2B8759
tetradic
#592B87 #872B2B #59872B #2B8787
square
#592B87 #872B2B #59872B #2B8787
split-complementary
#592B87 #87872B #2B872B
monochromatic
#1C0D2A #3A1C59 #592B87 #783AB5 #9660CC

Accessibility & contrast

On white

9.90
#592B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#592B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #592B87
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##592B87#FFFFFF#000000##FFFFFF
##592B871.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428A
Deuteranopia (green-blind)
#074385
Tritanopia (blue-blind)
#503F55
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #592b87;
/* rgb */ color: rgb(89, 43, 135);
/* oklch */ color: oklch(40.0% 0.148 303.3);
Tailwind
colors: {
  custom: {
    50: '#8c68ab',
    500: '#592b87',
    950: '#000000',
  },
}
SCSS
$custom: #592b87;
$custom-light: #8c68ab;
$custom-dark: #000000;
JSON
{
  "hex": "#592b87",
  "rgb": {
    "r": 89,
    "g": 43,
    "b": 135
  },
  "hsl": {
    "h": 270,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.3999,
    "c": 0.14761,
    "h": 303.3
  },
  "luminance": 0.05601
}

Semantic roles & 50–950 ramp

primary
#592B87
secondary
#87B25B
accent
#DB4D94
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #592B87

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

Preview Lab → · Contrast checker → · Palette generator →

#592B87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva