#5E347E#5E347E

#5E347E is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.3% C 0.124 H 308.1°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#5E347E
RGBrgb(94, 52, 126)
HSLhsl(274, 42%, 35%)
HSVhsv(274, 59%, 49%)
CMYKcmyk(25.4%, 58.7%, 0%, 50.6%)
CIE-LABlab(30.26, 33.53, -34.78)
CIE-LCHlch(30.26, 48.31, 313.95°)
OKLaboklab(41.3% 0.0767 -0.0979)
OKLCHoklch(41.3% 0.124 308.1)
XYZxyz(9.6092, 6.3422, 20.4526)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E347E #547E34
analogous
#39347E #5E347E #7E3479
triadic
#5E347E #7E5E34 #347E5E
tetradic
#5E347E #7E3934 #547E34 #34797E
square
#5E347E #7E3934 #547E34 #34797E
split-complementary
#5E347E #797E34 #347E39
monochromatic
#1D1027 #3E2253 #5E347E #7E46A9 #9C6BC2

Accessibility & contrast

On white

9.26
#5E347E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#5E347E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E347E
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E347E#FFFFFF#000000##FFFFFF
##5E347E1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4680
Deuteranopia (green-blind)
#2A487C
Tritanopia (blue-blind)
#594254
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5e347e;
/* rgb */ color: rgb(94, 52, 126);
/* oklch */ color: oklch(41.3% 0.124 308.1);
Tailwind
colors: {
  custom: {
    50: '#8e6da4',
    500: '#5e347e',
    950: '#000000',
  },
}
SCSS
$custom: #5e347e;
$custom-light: #8e6da4;
$custom-dark: #000000;
JSON
{
  "hex": "#5e347e",
  "rgb": {
    "r": 94,
    "g": 52,
    "b": 126
  },
  "hsl": {
    "h": 274.054,
    "s": 41.573,
    "l": 34.902
  },
  "oklch": {
    "l": 0.41299,
    "c": 0.12431,
    "h": 308.1
  },
  "luminance": 0.06342
}

Semantic roles & 50–950 ramp

primary
#5E347E
secondary
#82AA64
accent
#D1568C
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0C070F
muted
#7D7A7F

Preview Lab

Preview with #5E347E

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

Preview Lab → · Contrast checker → · Palette generator →

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