#5E409D#5E409D

#5E409D is a mid, vivid violet. Relative luminance 0.085; OKLCH L 45.4% C 0.145 H 294.8°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#5E409D
RGBrgb(94, 64, 157)
HSLhsl(259, 42%, 43%)
HSVhsv(259, 59%, 62%)
CMYKcmyk(40.1%, 59.2%, 0%, 38.4%)
CIE-LABlab(34.96, 34.82, -46.29)
CIE-LCHlch(34.96, 57.93, 306.95°)
OKLaboklab(45.4% 0.0609 -0.1316)
OKLCHoklch(45.4% 0.145 294.8)
XYZxyz(12.5337, 8.4805, 32.8683)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E409D #7F9D40
analogous
#40509D #5E409D #8C409D
triadic
#5E409D #9D5E40 #409D5E
tetradic
#5E409D #9D4050 #7F9D40 #409D8C
square
#5E409D #9D4050 #7F9D40 #409D8C
split-complementary
#5E409D #9D8C40 #509D40
monochromatic
#2A1D46 #442E72 #5E409D #7C5DBD #9F89CF

Accessibility & contrast

On white

7.79
#5E409D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#5E409D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E409D
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E409D#FFFFFF#000000##FFFFFF
##5E409D1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0653A0
Deuteranopia (green-blind)
#17519B
Tritanopia (blue-blind)
#4E5468
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5e409d;
/* rgb */ color: rgb(94, 64, 157);
/* oklch */ color: oklch(45.4% 0.145 294.8);
Tailwind
colors: {
  custom: {
    50: '#9076ba',
    500: '#5e409d',
    950: '#000000',
  },
}
SCSS
$custom: #5e409d;
$custom-light: #9076ba;
$custom-dark: #000000;
JSON
{
  "hex": "#5e409d",
  "rgb": {
    "r": 94,
    "g": 64,
    "b": 157
  },
  "hsl": {
    "h": 259.355,
    "s": 42.081,
    "l": 43.333
  },
  "oklch": {
    "l": 0.45404,
    "c": 0.14506,
    "h": 294.8
  },
  "luminance": 0.08481
}

Semantic roles & 50–950 ramp

primary
#5E409D
secondary
#A7B97F
accent
#D256AA
background
#F9F7FB
surface
#F1EDF6
border
#CBC8D0
text
#0D0812
muted
#7E7B81

Preview Lab

Preview with #5E409D

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

Preview Lab → · Contrast checker → · Palette generator →

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