#592174#592174

#592174 is a dark, vivid purple. Relative luminance 0.045; OKLCH L 37.3% C 0.140 H 312.6°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#592174
RGBrgb(89, 33, 116)
HSLhsl(280, 56%, 29%)
HSVhsv(280, 72%, 45%)
CMYKcmyk(23.3%, 71.6%, 0%, 54.5%)
CIE-LABlab(25.18, 39.94, -36.64)
CIE-LCHlch(25.18, 54.20, 317.47°)
OKLaboklab(37.25% 0.0949 -0.1034)
OKLCHoklch(37.25% 0.14 312.6)
XYZxyz(7.8155, 4.4727, 16.9712)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#592174 #3C7421
analogous
#302174 #592174 #742166
triadic
#592174 #745921 #217459
tetradic
#592174 #743021 #3C7421 #216674
square
#592174 #743021 #3C7421 #216674
split-complementary
#592174 #667421 #217430
monochromatic
#120718 #341344 #592174 #7E2FA4 #9F45CA

Accessibility & contrast

On white

11.08
#592174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#592174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #592174
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##592174#FFFFFF#000000##FFFFFF
##5921741.0011.081.8911.08
#FFFFFF11.081.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003976
Deuteranopia (green-blind)
#193D72
Tritanopia (blue-blind)
#563248
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #592174;
/* rgb */ color: rgb(89, 33, 116);
/* oklch */ color: oklch(37.3% 0.140 312.6);
Tailwind
colors: {
  custom: {
    50: '#8b619c',
    500: '#592174',
    950: '#000000',
  },
}
SCSS
$custom: #592174;
$custom-light: #8b619c;
$custom-dark: #000000;
JSON
{
  "hex": "#592174",
  "rgb": {
    "r": 89,
    "g": 33,
    "b": 116
  },
  "hsl": {
    "h": 280.482,
    "s": 55.705,
    "l": 29.216
  },
  "oklch": {
    "l": 0.3725,
    "c": 0.14031,
    "h": 312.6
  },
  "luminance": 0.04473
}

Semantic roles & 50–950 ramp

primary
#592174
secondary
#68A749
accent
#DF497A
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #592174

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

Preview Lab → · Contrast checker → · Palette generator →

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