#5D43A0#5D43A0

#5D43A0 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.0% C 0.144 H 292.7°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#5D43A0
RGBrgb(93, 67, 160)
HSLhsl(257, 41%, 45%)
HSVhsv(257, 58%, 63%)
CMYKcmyk(41.9%, 58.1%, 0%, 37.3%)
CIE-LABlab(35.75, 33.66, -46.84)
CIE-LCHlch(35.75, 57.68, 305.70°)
OKLaboklab(46.02% 0.0558 -0.1333)
OKLCHoklch(46.02% 0.144 292.7)
XYZxyz(12.8648, 8.8792, 34.2869)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D43A0 #86A043
analogous
#4358A0 #5D43A0 #8C43A0
triadic
#5D43A0 #A05D43 #43A05D
tetradic
#5D43A0 #A04358 #86A043 #43A08C
square
#5D43A0 #A04358 #86A043 #43A08C
split-complementary
#5D43A0 #A08C43 #58A043
monochromatic
#2B1F4A #443175 #5D43A0 #7C63BE #A08ED0

Accessibility & contrast

On white

7.56
#5D43A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#5D43A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D43A0
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D43A0#FFFFFF#000000##FFFFFF
##5D43A01.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C55A3
Deuteranopia (green-blind)
#17529E
Tritanopia (blue-blind)
#4B576B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5d43a0;
/* rgb */ color: rgb(93, 67, 160);
/* oklch */ color: oklch(46.0% 0.144 292.7);
Tailwind
colors: {
  custom: {
    50: '#8f78bd',
    500: '#5d43a0',
    950: '#000000',
  },
}
SCSS
$custom: #5d43a0;
$custom-light: #8f78bd;
$custom-dark: #000000;
JSON
{
  "hex": "#5d43a0",
  "rgb": {
    "r": 93,
    "g": 67,
    "b": 160
  },
  "hsl": {
    "h": 256.774,
    "s": 40.969,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46023,
    "c": 0.14449,
    "h": 292.7
  },
  "luminance": 0.0888
}

Semantic roles & 50–950 ramp

primary
#5D43A0
secondary
#ABBB84
accent
#D157AF
background
#F9F7FB
surface
#F1EDF6
border
#CBC8D0
text
#0D0912
muted
#7E7B81

Preview Lab

Preview with #5D43A0

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

Preview Lab → · Contrast checker → · Palette generator →

#5D43A0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva