#5E379A#5E379A

#5E379A is a dark, vivid violet. Relative luminance 0.074; OKLCH L 43.8% C 0.154 H 297.8°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#5E379A
RGBrgb(94, 55, 154)
HSLhsl(264, 47%, 41%)
HSVhsv(264, 64%, 60%)
CMYKcmyk(39%, 64.3%, 0%, 39.6%)
CIE-LABlab(32.80, 39.19, -47.97)
CIE-LCHlch(32.80, 61.94, 309.24°)
OKLaboklab(43.76% 0.072 -0.1366)
OKLCHoklch(43.76% 0.154 297.8)
XYZxyz(11.8135, 7.4450, 31.3802)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E379A #739A37
analogous
#37429A #5E379A #8F379A
triadic
#5E379A #9A5E37 #379A5E
tetradic
#5E379A #9A3742 #739A37 #379A8F
square
#5E379A #9A3742 #739A37 #379A8F
split-complementary
#5E379A #9A8F37 #429A37
monochromatic
#271740 #42276D #5E379A #7B4EC0 #9D7BD0

Accessibility & contrast

On white

8.44
#5E379A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#5E379A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E379A
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E379A#FFFFFF#000000##FFFFFF
##5E379A1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9D
Deuteranopia (green-blind)
#014C98
Tritanopia (blue-blind)
#504D63
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5e379a;
/* rgb */ color: rgb(94, 55, 154);
/* oklch */ color: oklch(43.8% 0.154 297.8);
Tailwind
colors: {
  custom: {
    50: '#9070b8',
    500: '#5e379a',
    950: '#000000',
  },
}
SCSS
$custom: #5e379a;
$custom-light: #9070b8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e379a",
  "rgb": {
    "r": 94,
    "g": 55,
    "b": 154
  },
  "hsl": {
    "h": 263.636,
    "s": 47.368,
    "l": 40.98
  },
  "oklch": {
    "l": 0.43758,
    "c": 0.1544,
    "h": 297.8
  },
  "luminance": 0.07445
}

Semantic roles & 50–950 ramp

primary
#5E379A
secondary
#9EB974
accent
#D751A2
background
#F9F6FB
surface
#F1ECF6
border
#CBC7D0
text
#0D0711
muted
#7E7A80

Preview Lab

Preview with #5E379A

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

Preview Lab → · Contrast checker → · Palette generator →

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