#593271#593271

#593271 is a dark, moderate violet. Relative luminance 0.056; OKLCH L 39.5% C 0.110 H 310.9°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#593271
RGBrgb(89, 50, 113)
HSLhsl(277, 39%, 32%)
HSVhsv(277, 56%, 44%)
CMYKcmyk(21.2%, 55.8%, 0%, 55.7%)
CIE-LABlab(28.37, 30.03, -29.62)
CIE-LCHlch(28.37, 42.18, 315.40°)
OKLaboklab(39.51% 0.0719 -0.0829)
OKLCHoklch(39.51% 0.11 310.9)
XYZxyz(8.2405, 5.5975, 16.2659)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#593271 #4A7132
analogous
#3A3271 #593271 #71326A
triadic
#593271 #715932 #327159
tetradic
#593271 #713A32 #4A7132 #326A71
square
#593271 #713A32 #4A7132 #326A71
split-complementary
#593271 #6A7132 #32713A
monochromatic
#160C1C #381F47 #593271 #7A459B #9963BA

Accessibility & contrast

On white

9.91
#593271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#593271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #593271
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##593271#FFFFFF#000000##FFFFFF
##5932711.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214173
Deuteranopia (green-blind)
#2D446F
Tritanopia (blue-blind)
#563D4C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #593271;
/* rgb */ color: rgb(89, 50, 113);
/* oklch */ color: oklch(39.5% 0.110 310.9);
Tailwind
colors: {
  custom: {
    50: '#8a6b9a',
    500: '#593271',
    950: '#000000',
  },
}
SCSS
$custom: #593271;
$custom-light: #8a6b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#593271",
  "rgb": {
    "r": 89,
    "g": 50,
    "b": 113
  },
  "hsl": {
    "h": 277.143,
    "s": 38.65,
    "l": 31.961
  },
  "oklch": {
    "l": 0.39511,
    "c": 0.10972,
    "h": 310.9
  },
  "luminance": 0.05597
}

Semantic roles & 50–950 ramp

primary
#593271
secondary
#77A25D
accent
#CF5986
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C070E
muted
#7D7A7E

Preview Lab

Preview with #593271

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

Preview Lab → · Contrast checker → · Palette generator →

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