#5E419A#5E419A

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

Color values

HEX#5E419A
RGBrgb(94, 65, 154)
HSLhsl(260, 41%, 43%)
HSVhsv(260, 58%, 60%)
CMYKcmyk(39%, 57.8%, 0%, 39.6%)
CIE-LABlab(34.99, 33.38, -44.44)
CIE-LCHlch(34.99, 55.58, 306.91°)
OKLaboklab(45.36% 0.0597 -0.1262)
OKLCHoklch(45.36% 0.14 295.3)
XYZxyz(12.3376, 8.4931, 31.5549)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E419A #7D9A41
analogous
#41509A #5E419A #8A419A
triadic
#5E419A #9A5E41 #419A5E
tetradic
#5E419A #9A4150 #7D9A41 #419A8A
square
#5E419A #9A4150 #7D9A41 #419A8A
split-complementary
#5E419A #9A8A41 #509A41
monochromatic
#291D44 #442F6F #5E419A #7C5DBB #9F88CD

Accessibility & contrast

On white

7.78
#5E419A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E419A
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E419A#FFFFFF#000000##FFFFFF
##5E419A1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13539D
Deuteranopia (green-blind)
#1E5198
Tritanopia (blue-blind)
#4F5467
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5e419a;
/* rgb */ color: rgb(94, 65, 154);
/* oklch */ color: oklch(45.4% 0.140 295.3);
Tailwind
colors: {
  custom: {
    50: '#9077b8',
    500: '#5e419a',
    950: '#000000',
  },
}
SCSS
$custom: #5e419a;
$custom-light: #9077b8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e419a",
  "rgb": {
    "r": 94,
    "g": 65,
    "b": 154
  },
  "hsl": {
    "h": 259.551,
    "s": 40.639,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45358,
    "c": 0.13959,
    "h": 295.3
  },
  "luminance": 0.08493
}

Semantic roles & 50–950 ramp

primary
#5E419A
secondary
#A5B87F
accent
#D057A9
background
#F9F7FB
surface
#F1EDF6
border
#CBC8D0
text
#0D0811
muted
#7E7B80

Preview Lab

Preview with #5E419A

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

Preview Lab → · Contrast checker → · Palette generator →

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