#5E348A#5E348A

#5E348A is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.1% C 0.139 H 303.5°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#5E348A
RGBrgb(94, 52, 138)
HSLhsl(269, 45%, 37%)
HSVhsv(269, 62%, 54%)
CMYKcmyk(31.9%, 62.3%, 0%, 45.9%)
CIE-LABlab(31.05, 36.60, -40.99)
CIE-LCHlch(31.05, 54.95, 311.76°)
OKLaboklab(42.13% 0.0767 -0.1161)
OKLCHoklch(42.13% 0.139 303.5)
XYZxyz(10.4305, 6.6707, 24.7779)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E348A #608A34
analogous
#34358A #5E348A #89348A
triadic
#5E348A #8A5E34 #348A5E
tetradic
#5E348A #8A3435 #608A34 #348A89
square
#5E348A #8A3435 #608A34 #348A89
split-complementary
#5E348A #8A8934 #358A34
monochromatic
#211331 #40235E #5E348A #7C45B6 #9B6FC9

Accessibility & contrast

On white

9.00
#5E348A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#5E348A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E348A
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E348A#FFFFFF#000000##FFFFFF
##5E348A1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04488D
Deuteranopia (green-blind)
#1E4988
Tritanopia (blue-blind)
#56465A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5e348a;
/* rgb */ color: rgb(94, 52, 138);
/* oklch */ color: oklch(42.1% 0.139 303.5);
Tailwind
colors: {
  custom: {
    50: '#8f6ead',
    500: '#5e348a',
    950: '#000000',
  },
}
SCSS
$custom: #5e348a;
$custom-light: #8f6ead;
$custom-dark: #000000;
JSON
{
  "hex": "#5e348a",
  "rgb": {
    "r": 94,
    "g": 52,
    "b": 138
  },
  "hsl": {
    "h": 269.302,
    "s": 45.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.42125,
    "c": 0.1391,
    "h": 303.5
  },
  "luminance": 0.06671
}

Semantic roles & 50–950 ramp

primary
#5E348A
secondary
#8EB169
accent
#D55395
background
#F9F6FA
surface
#F1ECF4
border
#CBC7CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #5E348A

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

Preview Lab → · Contrast checker → · Palette generator →

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