#5E419C#5E419C

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

Color values

HEX#5E419C
RGBrgb(94, 65, 156)
HSLhsl(259, 41%, 43%)
HSVhsv(259, 58%, 61%)
CMYKcmyk(39.7%, 58.3%, 0%, 38.8%)
CIE-LABlab(35.12, 33.95, -45.43)
CIE-LCHlch(35.12, 56.72, 306.77°)
OKLaboklab(45.5% 0.0597 -0.1291)
OKLCHoklch(45.5% 0.142 294.8)
XYZxyz(12.5056, 8.5603, 32.4395)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E419C #7F9C41
analogous
#41519C #5E419C #8B419C
triadic
#5E419C #9C5E41 #419C5E
tetradic
#5E419C #9C4151 #7F9C41 #419C8B
square
#5E419C #9C4151 #7F9C41 #419C8B
split-complementary
#5E419C #9C8B41 #519C41
monochromatic
#2A1D46 #442F71 #5E419C #7C5EBC #9F89CE

Accessibility & contrast

On white

7.74
#5E419C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E419C
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E419C#FFFFFF#000000##FFFFFF
##5E419C1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E539F
Deuteranopia (green-blind)
#1B519A
Tritanopia (blue-blind)
#4E5468
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5e419c;
/* rgb */ color: rgb(94, 65, 156);
/* oklch */ color: oklch(45.5% 0.142 294.8);
Tailwind
colors: {
  custom: {
    50: '#9077ba',
    500: '#5e419c',
    950: '#000000',
  },
}
SCSS
$custom: #5e419c;
$custom-light: #9077ba;
$custom-dark: #000000;
JSON
{
  "hex": "#5e419c",
  "rgb": {
    "r": 94,
    "g": 65,
    "b": 156
  },
  "hsl": {
    "h": 259.121,
    "s": 41.176,
    "l": 43.333
  },
  "oklch": {
    "l": 0.45499,
    "c": 0.14224,
    "h": 294.8
  },
  "luminance": 0.08561
}

Semantic roles & 50–950 ramp

primary
#5E419C
secondary
#A7B980
accent
#D157AA
background
#F9F7FB
surface
#F1EDF6
border
#CBC8D0
text
#0D0812
muted
#7E7B81

Preview Lab

Preview with #5E419C

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

Preview Lab → · Contrast checker → · Palette generator →

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