#5943AB#5943AB

#5943AB is a mid, vivid violet. Relative luminance 0.091; OKLCH L 46.5% C 0.159 H 288.3°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#5943AB
RGBrgb(89, 67, 171)
HSLhsl(253, 44%, 47%)
HSVhsv(253, 61%, 67%)
CMYKcmyk(48%, 60.8%, 0%, 32.9%)
CIE-LABlab(36.13, 36.00, -52.83)
CIE-LCHlch(36.13, 63.93, 304.27°)
OKLaboklab(46.46% 0.0501 -0.151)
OKLCHoklch(46.46% 0.159 288.3)
XYZxyz(13.4755, 9.0779, 39.5624)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5943AB #95AB43
analogous
#4361AB #5943AB #8D43AB
triadic
#5943AB #AB5943 #43AB59
tetradic
#5943AB #AB4361 #95AB43 #43AB8D
square
#5943AB #AB4361 #95AB43 #43AB8D
split-complementary
#5943AB #AB8D43 #61AB43
monochromatic
#2B2153 #42327F #5943AB #7B68C4 #A194D5

Accessibility & contrast

On white

7.46
#5943AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#5943AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5943AB#FFFFFF#000000##FFFFFF
##5943AB1.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AE
Deuteranopia (green-blind)
#0052A9
Tritanopia (blue-blind)
#3E5B70
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5943ab;
/* rgb */ color: rgb(89, 67, 171);
/* oklch */ color: oklch(46.5% 0.159 288.3);
Tailwind
colors: {
  custom: {
    50: '#8e78c5',
    500: '#5943ab',
    950: '#000000',
  },
}
SCSS
$custom: #5943ab;
$custom-light: #8e78c5;
$custom-dark: #000000;
JSON
{
  "hex": "#5943ab",
  "rgb": {
    "r": 89,
    "g": 67,
    "b": 171
  },
  "hsl": {
    "h": 252.692,
    "s": 43.697,
    "l": 46.667
  },
  "oklch": {
    "l": 0.46457,
    "c": 0.15911,
    "h": 288.3
  },
  "luminance": 0.09078
}

Semantic roles & 50–950 ramp

primary
#5943AB
secondary
#B5C089
accent
#D354B9
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0913
muted
#7E7B82

Preview Lab

Preview with #5943AB

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

Preview Lab → · Contrast checker → · Palette generator →

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