#592181#592181

#592181 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.3% C 0.154 H 307.1°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#592181
RGBrgb(89, 33, 129)
HSLhsl(275, 59%, 32%)
HSVhsv(275, 74%, 51%)
CMYKcmyk(31%, 74.4%, 0%, 49.4%)
CIE-LABlab(26.15, 43.02, -43.32)
CIE-LCHlch(26.15, 61.05, 314.80°)
OKLaboklab(38.25% 0.0931 -0.123)
OKLCHoklch(38.25% 0.154 307.1)
XYZxyz(8.6253, 4.7966, 21.2361)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#592181 #498121
analogous
#292181 #592181 #812179
triadic
#592181 #815921 #218159
tetradic
#592181 #812921 #498121 #217981
square
#592181 #812921 #498121 #217981
split-complementary
#592181 #798121 #218129
monochromatic
#160820 #371550 #592181 #7B2DB2 #994BD1

Accessibility & contrast

On white

10.72
#592181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#592181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #592181
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##592181#FFFFFF#000000##FFFFFF
##5921811.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C84
Deuteranopia (green-blind)
#003E7F
Tritanopia (blue-blind)
#52374F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #592181;
/* rgb */ color: rgb(89, 33, 129);
/* oklch */ color: oklch(38.3% 0.154 307.1);
Tailwind
colors: {
  custom: {
    50: '#8c62a6',
    500: '#592181',
    950: '#000000',
  },
}
SCSS
$custom: #592181;
$custom-light: #8c62a6;
$custom-dark: #000000;
JSON
{
  "hex": "#592181",
  "rgb": {
    "r": 89,
    "g": 33,
    "b": 129
  },
  "hsl": {
    "h": 275,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.3825,
    "c": 0.15423,
    "h": 307.1
  },
  "luminance": 0.04797
}

Semantic roles & 50–950 ramp

primary
#592181
secondary
#76B44A
accent
#E24587
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C050F
muted
#7D7A7F

Preview Lab

Preview with #592181

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

Preview Lab → · Contrast checker → · Palette generator →

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