#5943AA#5943AA

#5943AA is a mid, vivid violet. Relative luminance 0.090; OKLCH L 46.4% C 0.158 H 288.5°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#5943AA
RGBrgb(89, 67, 170)
HSLhsl(253, 43%, 46%)
HSVhsv(253, 61%, 67%)
CMYKcmyk(47.6%, 60.6%, 0%, 33.3%)
CIE-LABlab(36.06, 35.70, -52.35)
CIE-LCHlch(36.06, 63.37, 304.29°)
OKLaboklab(46.38% 0.0501 -0.1496)
OKLCHoklch(46.38% 0.158 288.5)
XYZxyz(13.3806, 9.0399, 39.0623)
Luminance0.0904 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5943AA #94AA43
analogous
#4361AA #5943AA #8D43AA
triadic
#5943AA #AA5943 #43AA59
tetradic
#5943AA #AA4361 #94AA43 #43AA8D
square
#5943AA #AA4361 #94AA43 #43AA8D
split-complementary
#5943AA #AA8D43 #61AA43
monochromatic
#2B2052 #42327E #5943AA #7B67C3 #A193D4

Accessibility & contrast

On white

7.48
#5943AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#5943AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5943AA
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5943AA#FFFFFF#000000##FFFFFF
##5943AA1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AD
Deuteranopia (green-blind)
#0052A8
Tritanopia (blue-blind)
#3F5B70
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5943aa;
/* rgb */ color: rgb(89, 67, 170);
/* oklch */ color: oklch(46.4% 0.158 288.5);
Tailwind
colors: {
  custom: {
    50: '#8e78c4',
    500: '#5943aa',
    950: '#000000',
  },
}
SCSS
$custom: #5943aa;
$custom-light: #8e78c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5943aa",
  "rgb": {
    "r": 89,
    "g": 67,
    "b": 170
  },
  "hsl": {
    "h": 252.816,
    "s": 43.46,
    "l": 46.471
  },
  "oklch": {
    "l": 0.4638,
    "c": 0.15779,
    "h": 288.5
  },
  "luminance": 0.0904
}

Semantic roles & 50–950 ramp

primary
#5943AA
secondary
#B4C089
accent
#D355B8
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0913
muted
#7E7B82

Preview Lab

Preview with #5943AA

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

Preview Lab → · Contrast checker → · Palette generator →

#5943AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva