#592E87#592E87

#592E87 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.4% C 0.143 H 302.7°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#592E87
RGBrgb(89, 46, 135)
HSLhsl(269, 49%, 35%)
HSVhsv(269, 66%, 53%)
CMYKcmyk(34.1%, 65.9%, 0%, 47.1%)
CIE-LABlab(28.97, 37.94, -42.50)
CIE-LCHlch(28.97, 56.98, 311.76°)
OKLaboklab(40.42% 0.0773 -0.1206)
OKLCHoklch(40.42% 0.143 302.7)
XYZxyz(9.4690, 5.8271, 23.5429)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#592E87 #5C872E
analogous
#2E2F87 #592E87 #852E87
triadic
#592E87 #87592E #2E8759
tetradic
#592E87 #872E2F #5C872E #2E8785
square
#592E87 #872E2F #5C872E #2E8785
split-complementary
#592E87 #87852E #2F872E
monochromatic
#1D0F2C #3B1E59 #592E87 #773EB5 #9665CA

Accessibility & contrast

On white

9.70
#592E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#592E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #592E87
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##592E87#FFFFFF#000000##FFFFFF
##592E871.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438A
Deuteranopia (green-blind)
#0F4485
Tritanopia (blue-blind)
#504156
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #592e87;
/* rgb */ color: rgb(89, 46, 135);
/* oklch */ color: oklch(40.4% 0.143 302.7);
Tailwind
colors: {
  custom: {
    50: '#8c69ab',
    500: '#592e87',
    950: '#000000',
  },
}
SCSS
$custom: #592e87;
$custom-light: #8c69ab;
$custom-dark: #000000;
JSON
{
  "hex": "#592e87",
  "rgb": {
    "r": 89,
    "g": 46,
    "b": 135
  },
  "hsl": {
    "h": 268.989,
    "s": 49.171,
    "l": 35.49
  },
  "oklch": {
    "l": 0.40415,
    "c": 0.14331,
    "h": 302.7
  },
  "luminance": 0.05827
}

Semantic roles & 50–950 ramp

primary
#592E87
secondary
#8AB160
accent
#D94F96
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #592E87

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

Preview Lab → · Contrast checker → · Palette generator →

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