#5E349A#5E349A

#5E349A is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.3% C 0.159 H 298.4°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#5E349A
RGBrgb(94, 52, 154)
HSLhsl(265, 50%, 40%)
HSVhsv(265, 66%, 60%)
CMYKcmyk(39%, 66.2%, 0%, 39.6%)
CIE-LABlab(32.19, 40.84, -48.96)
CIE-LCHlch(32.19, 63.76, 309.84°)
OKLaboklab(43.32% 0.0755 -0.1395)
OKLCHoklch(43.32% 0.159 298.4)
XYZxyz(11.6753, 7.1686, 31.3341)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E349A #709A34
analogous
#343D9A #5E349A #91349A
triadic
#5E349A #9A5E34 #349A5E
tetradic
#5E349A #9A343D #709A34 #349A91
square
#5E349A #9A343D #709A34 #349A91
split-complementary
#5E349A #9A9134 #3D9A34
monochromatic
#26153E #42256C #5E349A #7B49C2 #9C77D1

Accessibility & contrast

On white

8.63
#5E349A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#5E349A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E349A
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E349A#FFFFFF#000000##FFFFFF
##5E349A1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9D
Deuteranopia (green-blind)
#004B98
Tritanopia (blue-blind)
#504B62
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5e349a;
/* rgb */ color: rgb(94, 52, 154);
/* oklch */ color: oklch(43.3% 0.159 298.4);
Tailwind
colors: {
  custom: {
    50: '#906eb8',
    500: '#5e349a',
    950: '#000000',
  },
}
SCSS
$custom: #5e349a;
$custom-light: #906eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e349a",
  "rgb": {
    "r": 94,
    "g": 52,
    "b": 154
  },
  "hsl": {
    "h": 264.706,
    "s": 49.515,
    "l": 40.392
  },
  "oklch": {
    "l": 0.43316,
    "c": 0.15862,
    "h": 298.4
  },
  "luminance": 0.07169
}

Semantic roles & 50–950 ramp

primary
#5E349A
secondary
#9BBA70
accent
#D94FA0
background
#F9F6FB
surface
#F1ECF6
border
#CBC7D0
text
#0D0711
muted
#7E7A80

Preview Lab

Preview with #5E349A

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

Preview Lab → · Contrast checker → · Palette generator →

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