#5E359A#5E359A

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

Color values

HEX#5E359A
RGBrgb(94, 53, 154)
HSLhsl(264, 49%, 41%)
HSVhsv(264, 66%, 60%)
CMYKcmyk(39%, 65.6%, 0%, 39.6%)
CIE-LABlab(32.39, 40.30, -48.64)
CIE-LCHlch(32.39, 63.16, 309.64°)
OKLaboklab(43.46% 0.0744 -0.1385)
OKLCHoklch(43.46% 0.157 298.2)
XYZxyz(11.7205, 7.2588, 31.3492)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E359A #719A35
analogous
#353F9A #5E359A #90359A
triadic
#5E359A #9A5E35 #359A5E
tetradic
#5E359A #9A353F #719A35 #359A90
square
#5E359A #9A353F #719A35 #359A90
split-complementary
#5E359A #9A9035 #3F9A35
monochromatic
#26163F #42256C #5E359A #7B4BC1 #9C79D1

Accessibility & contrast

On white

8.57
#5E359A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#5E359A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E359A
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E359A#FFFFFF#000000##FFFFFF
##5E359A1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9D
Deuteranopia (green-blind)
#004B98
Tritanopia (blue-blind)
#504C62
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5e359a;
/* rgb */ color: rgb(94, 53, 154);
/* oklch */ color: oklch(43.5% 0.157 298.2);
Tailwind
colors: {
  custom: {
    50: '#906fb8',
    500: '#5e359a',
    950: '#000000',
  },
}
SCSS
$custom: #5e359a;
$custom-light: #906fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e359a",
  "rgb": {
    "r": 94,
    "g": 53,
    "b": 154
  },
  "hsl": {
    "h": 264.356,
    "s": 48.792,
    "l": 40.588
  },
  "oklch": {
    "l": 0.43461,
    "c": 0.15723,
    "h": 298.2
  },
  "luminance": 0.07259
}

Semantic roles & 50–950 ramp

primary
#5E359A
secondary
#9CB971
accent
#D84FA1
background
#F9F6FB
surface
#F1ECF6
border
#CBC7D0
text
#0D0711
muted
#7E7A80

Preview Lab

Preview with #5E359A

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

Preview Lab → · Contrast checker → · Palette generator →

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