#593278#593278

#593278 is a dark, moderate violet. Relative luminance 0.058; OKLCH L 40.0% C 0.118 H 307.6°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#593278
RGBrgb(89, 50, 120)
HSLhsl(273, 41%, 33%)
HSVhsv(273, 58%, 47%)
CMYKcmyk(25.8%, 58.3%, 0%, 52.9%)
CIE-LABlab(28.80, 31.79, -33.37)
CIE-LCHlch(28.80, 46.09, 313.61°)
OKLaboklab(39.97% 0.0723 -0.0939)
OKLCHoklch(39.97% 0.119 307.6)
XYZxyz(8.6499, 5.7612, 18.4220)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#593278 #517832
analogous
#363278 #593278 #783274
triadic
#593278 #785932 #327859
tetradic
#593278 #783632 #517832 #327478
square
#593278 #783632 #517832 #327478
split-complementary
#593278 #747832 #327836
monochromatic
#190E22 #39204D #593278 #7944A3 #9765BF

Accessibility & contrast

On white

9.76
#593278 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#593278 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #593278
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##593278#FFFFFF#000000##FFFFFF
##5932781.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A427A
Deuteranopia (green-blind)
#284476
Tritanopia (blue-blind)
#543F50
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #593278;
/* rgb */ color: rgb(89, 50, 120);
/* oklch */ color: oklch(40.0% 0.118 307.6);
Tailwind
colors: {
  custom: {
    50: '#8a6c9f',
    500: '#593278',
    950: '#000000',
  },
}
SCSS
$custom: #593278;
$custom-light: #8a6c9f;
$custom-dark: #000000;
JSON
{
  "hex": "#593278",
  "rgb": {
    "r": 89,
    "g": 50,
    "b": 120
  },
  "hsl": {
    "h": 273.429,
    "s": 41.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.39966,
    "c": 0.1185,
    "h": 307.6
  },
  "luminance": 0.05761
}

Semantic roles & 50–950 ramp

primary
#593278
secondary
#7FA75F
accent
#D1578D
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C070E
muted
#7D7A7E

Preview Lab

Preview with #593278

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

Preview Lab → · Contrast checker → · Palette generator →

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