#593276#593276

#593276 is a dark, moderate violet. Relative luminance 0.057; OKLCH L 39.8% C 0.116 H 308.5°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#593276
RGBrgb(89, 50, 118)
HSLhsl(274, 40%, 33%)
HSVhsv(274, 58%, 46%)
CMYKcmyk(24.6%, 57.6%, 0%, 53.7%)
CIE-LABlab(28.68, 31.28, -32.31)
CIE-LCHlch(28.68, 44.97, 314.08°)
OKLaboklab(39.83% 0.0722 -0.0908)
OKLCHoklch(39.83% 0.116 308.5)
XYZxyz(8.5298, 5.7132, 17.7894)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#593276 #4F7632
analogous
#373276 #593276 #763271
triadic
#593276 #765932 #327659
tetradic
#593276 #763732 #4F7632 #327176
square
#593276 #763732 #4F7632 #327176
split-complementary
#593276 #717632 #327637
monochromatic
#180E20 #39204B #593276 #7944A1 #9865BE

Accessibility & contrast

On white

9.80
#593276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#593276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #593276
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##593276#FFFFFF#000000##FFFFFF
##5932761.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4278
Deuteranopia (green-blind)
#2A4474
Tritanopia (blue-blind)
#553E4F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #593276;
/* rgb */ color: rgb(89, 50, 118);
/* oklch */ color: oklch(39.8% 0.116 308.5);
Tailwind
colors: {
  custom: {
    50: '#8a6b9e',
    500: '#593276',
    950: '#000000',
  },
}
SCSS
$custom: #593276;
$custom-light: #8a6b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#593276",
  "rgb": {
    "r": 89,
    "g": 50,
    "b": 118
  },
  "hsl": {
    "h": 274.412,
    "s": 40.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.39833,
    "c": 0.11599,
    "h": 308.5
  },
  "luminance": 0.05713
}

Semantic roles & 50–950 ramp

primary
#593276
secondary
#7DA55E
accent
#D0578B
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C070E
muted
#7D7A7E

Preview Lab

Preview with #593276

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

Preview Lab → · Contrast checker → · Palette generator →

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