#5E359B#5E359B

#5E359B is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.5% C 0.158 H 298.0°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#5E359B
RGBrgb(94, 53, 155)
HSLhsl(264, 49%, 41%)
HSVhsv(264, 66%, 61%)
CMYKcmyk(39.4%, 65.8%, 0%, 39.2%)
CIE-LABlab(32.46, 40.57, -49.12)
CIE-LCHlch(32.46, 63.71, 309.55°)
OKLaboklab(43.54% 0.0743 -0.1399)
OKLCHoklch(43.54% 0.158 298)
XYZxyz(11.8041, 7.2923, 31.7896)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E359B #729B35
analogous
#353F9B #5E359B #91359B
triadic
#5E359B #9B5E35 #359B5E
tetradic
#5E359B #9B353F #729B35 #359B91
square
#5E359B #9B353F #729B35 #359B91
split-complementary
#5E359B #9B9135 #3F9B35
monochromatic
#271640 #42256D #5E359B #7B4CC2 #9D79D1

Accessibility & contrast

On white

8.54
#5E359B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#5E359B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E359B
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E359B#FFFFFF#000000##FFFFFF
##5E359B1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9E
Deuteranopia (green-blind)
#004B99
Tritanopia (blue-blind)
#504C63
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5e359b;
/* rgb */ color: rgb(94, 53, 155);
/* oklch */ color: oklch(43.5% 0.158 298.0);
Tailwind
colors: {
  custom: {
    50: '#906fb9',
    500: '#5e359b',
    950: '#000000',
  },
}
SCSS
$custom: #5e359b;
$custom-light: #906fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#5e359b",
  "rgb": {
    "r": 94,
    "g": 53,
    "b": 155
  },
  "hsl": {
    "h": 264.118,
    "s": 49.038,
    "l": 40.784
  },
  "oklch": {
    "l": 0.43538,
    "c": 0.15844,
    "h": 298
  },
  "luminance": 0.07292
}

Semantic roles & 50–950 ramp

primary
#5E359B
secondary
#9DBA72
accent
#D94FA1
background
#F9F6FB
surface
#F1ECF6
border
#CBC7D0
text
#0D0711
muted
#7E7A80

Preview Lab

Preview with #5E359B

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

Preview Lab → · Contrast checker → · Palette generator →

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