#5E409F#5E409F

#5E409F is a mid, vivid violet. Relative luminance 0.086; OKLCH L 45.5% C 0.148 H 294.3°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#5E409F
RGBrgb(94, 64, 159)
HSLhsl(259, 43%, 44%)
HSVhsv(259, 60%, 62%)
CMYKcmyk(40.9%, 59.7%, 0%, 37.6%)
CIE-LABlab(35.10, 35.39, -47.28)
CIE-LCHlch(35.10, 59.06, 306.82°)
OKLaboklab(45.55% 0.0609 -0.1345)
OKLCHoklch(45.55% 0.148 294.3)
XYZxyz(12.7058, 8.5494, 33.7749)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E409F #819F40
analogous
#40519F #5E409F #8D409F
triadic
#5E409F #9F5E40 #409F5E
tetradic
#5E409F #9F4051 #819F40 #409F8D
square
#5E409F #9F4051 #819F40 #409F8D
split-complementary
#5E409F #9F8D40 #519F40
monochromatic
#2A1D48 #442E73 #5E409F #7C5EBE #A08AD0

Accessibility & contrast

On white

7.75
#5E409F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#5E409F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E409F
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E409F#FFFFFF#000000##FFFFFF
##5E409F1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A2
Deuteranopia (green-blind)
#12519D
Tritanopia (blue-blind)
#4D5569
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5e409f;
/* rgb */ color: rgb(94, 64, 159);
/* oklch */ color: oklch(45.5% 0.148 294.3);
Tailwind
colors: {
  custom: {
    50: '#9076bc',
    500: '#5e409f',
    950: '#000000',
  },
}
SCSS
$custom: #5e409f;
$custom-light: #9076bc;
$custom-dark: #000000;
JSON
{
  "hex": "#5e409f",
  "rgb": {
    "r": 94,
    "g": 64,
    "b": 159
  },
  "hsl": {
    "h": 258.947,
    "s": 42.601,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45549,
    "c": 0.14768,
    "h": 294.3
  },
  "luminance": 0.0855
}

Semantic roles & 50–950 ramp

primary
#5E409F
secondary
#A8BB80
accent
#D255AB
background
#F9F7FB
surface
#F1EDF6
border
#CBC8D0
text
#0D0812
muted
#7E7B81

Preview Lab

Preview with #5E409F

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

Preview Lab → · Contrast checker → · Palette generator →

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