#5E349D#5E349D

#5E349D is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.5% C 0.162 H 297.6°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#5E349D
RGBrgb(94, 52, 157)
HSLhsl(264, 50%, 41%)
HSVhsv(264, 67%, 62%)
CMYKcmyk(40.1%, 66.9%, 0%, 38.4%)
CIE-LABlab(32.41, 41.65, -50.42)
CIE-LCHlch(32.41, 65.40, 309.56°)
OKLaboklab(43.55% 0.0752 -0.1438)
OKLCHoklch(43.55% 0.162 297.6)
XYZxyz(11.9283, 7.2698, 32.6665)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E349D #739D34
analogous
#343E9D #5E349D #92349D
triadic
#5E349D #9D5E34 #349D5E
tetradic
#5E349D #9D343E #739D34 #349D92
square
#5E349D #9D343E #739D34 #349D92
split-complementary
#5E349D #9D9234 #3E9D34
monochromatic
#271641 #42256F #5E349D #7B4BC3 #9D79D3

Accessibility & contrast

On white

8.56
#5E349D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#5E349D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E349D
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E349D#FFFFFF#000000##FFFFFF
##5E349D1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA0
Deuteranopia (green-blind)
#004B9B
Tritanopia (blue-blind)
#4F4C64
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5e349d;
/* rgb */ color: rgb(94, 52, 157);
/* oklch */ color: oklch(43.5% 0.162 297.6);
Tailwind
colors: {
  custom: {
    50: '#916ebb',
    500: '#5e349d',
    950: '#000000',
  },
}
SCSS
$custom: #5e349d;
$custom-light: #916ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#5e349d",
  "rgb": {
    "r": 94,
    "g": 52,
    "b": 157
  },
  "hsl": {
    "h": 264,
    "s": 50.239,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4355,
    "c": 0.16224,
    "h": 297.6
  },
  "luminance": 0.0727
}

Semantic roles & 50–950 ramp

primary
#5E349D
secondary
#9EBB72
accent
#DA4EA2
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #5E349D

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

Preview Lab → · Contrast checker → · Palette generator →

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