#5E358F#5E358F

#5E358F is a dark, vivid violet. Relative luminance 0.069; OKLCH L 42.6% C 0.144 H 301.5°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#5E358F
RGBrgb(94, 53, 143)
HSLhsl(267, 46%, 38%)
HSVhsv(267, 63%, 56%)
CMYKcmyk(34.3%, 62.9%, 0%, 43.9%)
CIE-LABlab(31.60, 37.35, -43.18)
CIE-LCHlch(31.60, 57.10, 310.86°)
OKLaboklab(42.64% 0.0752 -0.1225)
OKLCHoklch(42.64% 0.144 301.5)
XYZxyz(10.8460, 6.9090, 26.7434)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E358F #668F35
analogous
#35398F #5E358F #8B358F
triadic
#5E358F #8F5E35 #358F5E
tetradic
#5E358F #8F3539 #668F35 #358F8B
square
#5E358F #8F3539 #668F35 #358F8B
split-complementary
#5E358F #8F8B35 #398F35
monochromatic
#231436 #412462 #5E358F #7B47BB #9B73CB

Accessibility & contrast

On white

8.82
#5E358F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#5E358F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E358F
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E358F#FFFFFF#000000##FFFFFF
##5E358F1.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A92
Deuteranopia (green-blind)
#184A8D
Tritanopia (blue-blind)
#54485D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5e358f;
/* rgb */ color: rgb(94, 53, 143);
/* oklch */ color: oklch(42.6% 0.144 301.5);
Tailwind
colors: {
  custom: {
    50: '#8f6eb0',
    500: '#5e358f',
    950: '#000000',
  },
}
SCSS
$custom: #5e358f;
$custom-light: #8f6eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#5e358f",
  "rgb": {
    "r": 94,
    "g": 53,
    "b": 143
  },
  "hsl": {
    "h": 267.333,
    "s": 45.918,
    "l": 38.431
  },
  "oklch": {
    "l": 0.42638,
    "c": 0.14374,
    "h": 301.5
  },
  "luminance": 0.06909
}

Semantic roles & 50–950 ramp

primary
#5E358F
secondary
#93B46C
accent
#D6529A
background
#F9F6FA
surface
#F1ECF5
border
#CBC7CF
text
#0D0711
muted
#7E7A80

Preview Lab

Preview with #5E358F

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

Preview Lab → · Contrast checker → · Palette generator →

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