#593274#593274

#593274 is a dark, moderate violet. Relative luminance 0.057; OKLCH L 39.7% C 0.113 H 309.5°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#593274
RGBrgb(89, 50, 116)
HSLhsl(275, 40%, 33%)
HSVhsv(275, 57%, 45%)
CMYKcmyk(23.3%, 56.9%, 0%, 54.5%)
CIE-LABlab(28.55, 30.78, -31.24)
CIE-LCHlch(28.55, 43.85, 314.58°)
OKLaboklab(39.7% 0.0721 -0.0876)
OKLCHoklch(39.7% 0.113 309.5)
XYZxyz(8.4122, 5.6661, 17.1701)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#593274 #4D7432
analogous
#383274 #593274 #74326E
triadic
#593274 #745932 #327459
tetradic
#593274 #743832 #4D7432 #326E74
square
#593274 #743832 #4D7432 #326E74
split-complementary
#593274 #6E7432 #327438
monochromatic
#170D1E #382049 #593274 #7A449F #9864BC

Accessibility & contrast

On white

9.84
#593274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#593274 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #593274
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##593274#FFFFFF#000000##FFFFFF
##5932741.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4276
Deuteranopia (green-blind)
#2B4472
Tritanopia (blue-blind)
#553E4E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #593274;
/* rgb */ color: rgb(89, 50, 116);
/* oklch */ color: oklch(39.7% 0.113 309.5);
Tailwind
colors: {
  custom: {
    50: '#8a6b9c',
    500: '#593274',
    950: '#000000',
  },
}
SCSS
$custom: #593274;
$custom-light: #8a6b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#593274",
  "rgb": {
    "r": 89,
    "g": 50,
    "b": 116
  },
  "hsl": {
    "h": 275.455,
    "s": 39.759,
    "l": 32.549
  },
  "oklch": {
    "l": 0.39703,
    "c": 0.11349,
    "h": 309.5
  },
  "luminance": 0.05666
}

Semantic roles & 50–950 ramp

primary
#593274
secondary
#7BA45E
accent
#D05889
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C070E
muted
#7D7A7E

Preview Lab

Preview with #593274

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

Preview Lab → · Contrast checker → · Palette generator →

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