#592F87#592F87

#592F87 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.6% C 0.142 H 302.4°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#592F87
RGBrgb(89, 47, 135)
HSLhsl(269, 48%, 36%)
HSVhsv(269, 65%, 53%)
CMYKcmyk(34.1%, 65.2%, 0%, 47.1%)
CIE-LABlab(29.17, 37.39, -42.18)
CIE-LCHlch(29.17, 56.37, 311.56°)
OKLaboklab(40.56% 0.0761 -0.1197)
OKLCHoklch(40.56% 0.142 302.4)
XYZxyz(9.5085, 5.9061, 23.5560)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#592F87 #5D872F
analogous
#2F3187 #592F87 #852F87
triadic
#592F87 #87592F #2F8759
tetradic
#592F87 #872F31 #5D872F #2F8785
square
#592F87 #872F31 #5D872F #2F8785
split-complementary
#592F87 #87852F #31872F
monochromatic
#1D0F2C #3B1F5A #592F87 #773FB4 #9666CA

Accessibility & contrast

On white

9.63
#592F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#592F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #592F87
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##592F87#FFFFFF#000000##FFFFFF
##592F871.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448A
Deuteranopia (green-blind)
#124485
Tritanopia (blue-blind)
#504256
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #592f87;
/* rgb */ color: rgb(89, 47, 135);
/* oklch */ color: oklch(40.6% 0.142 302.4);
Tailwind
colors: {
  custom: {
    50: '#8c6aab',
    500: '#592f87',
    950: '#000000',
  },
}
SCSS
$custom: #592f87;
$custom-light: #8c6aab;
$custom-dark: #000000;
JSON
{
  "hex": "#592f87",
  "rgb": {
    "r": 89,
    "g": 47,
    "b": 135
  },
  "hsl": {
    "h": 268.636,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.40561,
    "c": 0.14183,
    "h": 302.4
  },
  "luminance": 0.05906
}

Semantic roles & 50–950 ramp

primary
#592F87
secondary
#8BB161
accent
#D85097
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #592F87

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

Preview Lab → · Contrast checker → · Palette generator →

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