#5E3DA5#5E3DA5

#5E3DA5 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.5% C 0.160 H 293.7°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#5E3DA5
RGBrgb(94, 61, 165)
HSLhsl(259, 46%, 44%)
HSVhsv(259, 63%, 65%)
CMYKcmyk(43%, 63%, 0%, 35.3%)
CIE-LABlab(34.87, 38.84, -51.26)
CIE-LCHlch(34.87, 64.32, 307.15°)
OKLaboklab(45.52% 0.0642 -0.1463)
OKLCHoklch(45.52% 0.16 293.7)
XYZxyz(13.0745, 8.4334, 36.5290)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E3DA5 #84A53D
analogous
#3D50A5 #5E3DA5 #923DA5
triadic
#5E3DA5 #A55E3D #3DA55E
tetradic
#5E3DA5 #A53D50 #84A53D #3DA592
square
#5E3DA5 #A53D50 #84A53D #3DA592
split-complementary
#5E3DA5 #A5923D #50A53D
monochromatic
#2B1C4C #452C78 #5E3DA5 #7D5CC3 #A189D3

Accessibility & contrast

On white

7.82
#5E3DA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#5E3DA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E3DA5
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E3DA5#FFFFFF#000000##FFFFFF
##5E3DA51.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A8
Deuteranopia (green-blind)
#0050A3
Tritanopia (blue-blind)
#4B556B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5e3da5;
/* rgb */ color: rgb(94, 61, 165);
/* oklch */ color: oklch(45.5% 0.160 293.7);
Tailwind
colors: {
  custom: {
    50: '#9174c0',
    500: '#5e3da5',
    950: '#000000',
  },
}
SCSS
$custom: #5e3da5;
$custom-light: #9174c0;
$custom-dark: #000000;
JSON
{
  "hex": "#5e3da5",
  "rgb": {
    "r": 94,
    "g": 61,
    "b": 165
  },
  "hsl": {
    "h": 259.038,
    "s": 46.018,
    "l": 44.314
  },
  "oklch": {
    "l": 0.45515,
    "c": 0.15971,
    "h": 293.7
  },
  "luminance": 0.08434
}

Semantic roles & 50–950 ramp

primary
#5E3DA5
secondary
#AABE80
accent
#D652AC
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0D0812
muted
#7E7B81

Preview Lab

Preview with #5E3DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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