#5E359F#5E359F

#5E359F is a dark, vivid violet. Relative luminance 0.074; OKLCH L 43.9% C 0.163 H 296.9°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#5E359F
RGBrgb(94, 53, 159)
HSLhsl(263, 50%, 42%)
HSVhsv(263, 67%, 62%)
CMYKcmyk(40.9%, 66.7%, 0%, 37.6%)
CIE-LABlab(32.76, 41.65, -51.06)
CIE-LCHlch(32.76, 65.90, 309.21°)
OKLaboklab(43.85% 0.0738 -0.1456)
OKLCHoklch(43.85% 0.163 296.9)
XYZxyz(12.1456, 7.4289, 33.5882)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E359F #769F35
analogous
#35419F #5E359F #93359F
triadic
#5E359F #9F5E35 #359F5E
tetradic
#5E359F #9F3541 #769F35 #359F93
square
#5E359F #9F3541 #769F35 #359F93
split-complementary
#5E359F #9F9335 #419F35
monochromatic
#281643 #432671 #5E359F #7B4DC4 #9D7BD3

Accessibility & contrast

On white

8.45
#5E359F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#5E359F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E359F
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E359F#FFFFFF#000000##FFFFFF
##5E359F1.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA2
Deuteranopia (green-blind)
#004C9D
Tritanopia (blue-blind)
#4E4E65
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5e359f;
/* rgb */ color: rgb(94, 53, 159);
/* oklch */ color: oklch(43.9% 0.163 296.9);
Tailwind
colors: {
  custom: {
    50: '#916fbc',
    500: '#5e359f',
    950: '#000000',
  },
}
SCSS
$custom: #5e359f;
$custom-light: #916fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#5e359f",
  "rgb": {
    "r": 94,
    "g": 53,
    "b": 159
  },
  "hsl": {
    "h": 263.208,
    "s": 50,
    "l": 41.569
  },
  "oklch": {
    "l": 0.4385,
    "c": 0.1633,
    "h": 296.9
  },
  "luminance": 0.07429
}

Semantic roles & 50–950 ramp

primary
#5E359F
secondary
#A0BC74
accent
#DA4EA4
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #5E359F

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

Preview Lab → · Contrast checker → · Palette generator →

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