#592687#592687

#592687 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.3% C 0.154 H 304.1°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#592687
RGBrgb(89, 38, 135)
HSLhsl(272, 56%, 34%)
HSVhsv(272, 72%, 53%)
CMYKcmyk(34.1%, 71.9%, 0%, 47.1%)
CIE-LABlab(27.46, 42.12, -44.95)
CIE-LCHlch(27.46, 61.59, 313.14°)
OKLaboklab(39.33% 0.0867 -0.1278)
OKLCHoklch(39.33% 0.154 304.1)
XYZxyz(9.1851, 5.2594, 23.4482)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#592687 #548726
analogous
#292687 #592687 #872685
triadic
#592687 #875926 #268759
tetradic
#592687 #872926 #548726 #268587
square
#592687 #872926 #548726 #268587
split-complementary
#592687 #858726 #268729
monochromatic
#1A0B27 #3A1957 #592687 #7833B7 #9758D0

Accessibility & contrast

On white

10.23
#592687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#592687 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #592687
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##592687#FFFFFF#000000##FFFFFF
##5926871.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408A
Deuteranopia (green-blind)
#004185
Tritanopia (blue-blind)
#503D53
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #592687;
/* rgb */ color: rgb(89, 38, 135);
/* oklch */ color: oklch(39.3% 0.154 304.1);
Tailwind
colors: {
  custom: {
    50: '#8c65ab',
    500: '#592687',
    950: '#000000',
  },
}
SCSS
$custom: #592687;
$custom-light: #8c65ab;
$custom-dark: #000000;
JSON
{
  "hex": "#592687",
  "rgb": {
    "r": 89,
    "g": 38,
    "b": 135
  },
  "hsl": {
    "h": 271.546,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.39331,
    "c": 0.15441,
    "h": 304.1
  },
  "luminance": 0.05259
}

Semantic roles & 50–950 ramp

primary
#592687
secondary
#82B554
accent
#DF4890
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #592687

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

Preview Lab → · Contrast checker → · Palette generator →

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