#592686#592686

#592686 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.3% C 0.153 H 304.5°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#592686
RGBrgb(89, 38, 134)
HSLhsl(272, 56%, 34%)
HSVhsv(272, 72%, 53%)
CMYKcmyk(33.6%, 71.6%, 0%, 47.5%)
CIE-LABlab(27.38, 41.86, -44.45)
CIE-LCHlch(27.38, 61.06, 313.29°)
OKLaboklab(39.25% 0.0868 -0.1263)
OKLCHoklch(39.25% 0.153 304.5)
XYZxyz(9.1150, 5.2313, 23.0792)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#592686 #538626
analogous
#292686 #592686 #862683
triadic
#592686 #865926 #268659
tetradic
#592686 #862926 #538626 #268386
square
#592686 #862926 #538626 #268386
split-complementary
#592686 #838626 #268629
monochromatic
#1A0B27 #391856 #592686 #7934B6 #9757CF

Accessibility & contrast

On white

10.26
#592686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #592686
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##592686#FFFFFF#000000##FFFFFF
##5926861.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F89
Deuteranopia (green-blind)
#004184
Tritanopia (blue-blind)
#513C53
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #592686;
/* rgb */ color: rgb(89, 38, 134);
/* oklch */ color: oklch(39.3% 0.153 304.5);
Tailwind
colors: {
  custom: {
    50: '#8c65aa',
    500: '#592686',
    950: '#000000',
  },
}
SCSS
$custom: #592686;
$custom-light: #8c65aa;
$custom-dark: #000000;
JSON
{
  "hex": "#592686",
  "rgb": {
    "r": 89,
    "g": 38,
    "b": 134
  },
  "hsl": {
    "h": 271.875,
    "s": 55.814,
    "l": 33.725
  },
  "oklch": {
    "l": 0.39251,
    "c": 0.1533,
    "h": 304.5
  },
  "luminance": 0.05231
}

Semantic roles & 50–950 ramp

primary
#592686
secondary
#81B454
accent
#DF498F
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #592686

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

Preview Lab → · Contrast checker → · Palette generator →

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