#5E358D#5E358D

#5E358D is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.5% C 0.141 H 302.2°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#5E358D
RGBrgb(94, 53, 141)
HSLhsl(268, 45%, 38%)
HSVhsv(268, 62%, 55%)
CMYKcmyk(33.3%, 62.4%, 0%, 44.7%)
CIE-LABlab(31.46, 36.82, -42.18)
CIE-LCHlch(31.46, 55.99, 311.12°)
OKLaboklab(42.49% 0.0753 -0.1195)
OKLCHoklch(42.49% 0.141 302.2)
XYZxyz(10.6958, 6.8490, 25.9526)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E358D #648D35
analogous
#35388D #5E358D #8A358D
triadic
#5E358D #8D5E35 #358D5E
tetradic
#5E358D #8D3538 #648D35 #358D8A
square
#5E358D #8D3538 #648D35 #358D8A
split-complementary
#5E358D #8D8A35 #388D35
monochromatic
#231434 #402461 #5E358D #7C46B9 #9B72CA

Accessibility & contrast

On white

8.86
#5E358D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#5E358D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E358D
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E358D#FFFFFF#000000##FFFFFF
##5E358D1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004990
Deuteranopia (green-blind)
#1B4A8B
Tritanopia (blue-blind)
#55475C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5e358d;
/* rgb */ color: rgb(94, 53, 141);
/* oklch */ color: oklch(42.5% 0.141 302.2);
Tailwind
colors: {
  custom: {
    50: '#8f6eaf',
    500: '#5e358d',
    950: '#000000',
  },
}
SCSS
$custom: #5e358d;
$custom-light: #8f6eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#5e358d",
  "rgb": {
    "r": 94,
    "g": 53,
    "b": 141
  },
  "hsl": {
    "h": 267.955,
    "s": 45.361,
    "l": 38.039
  },
  "oklch": {
    "l": 0.42493,
    "c": 0.14127,
    "h": 302.2
  },
  "luminance": 0.06849
}

Semantic roles & 50–950 ramp

primary
#5E358D
secondary
#91B26B
accent
#D55398
background
#F9F6FA
surface
#F1ECF4
border
#CBC7CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #5E358D

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

Preview Lab → · Contrast checker → · Palette generator →

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