#5E416D#5E416D

#5E416D is a dark, moderate violet. Relative luminance 0.073; OKLCH L 42.6% C 0.079 H 313.5°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#5E416D
RGBrgb(94, 65, 109)
HSLhsl(280, 25%, 34%)
HSVhsv(280, 40%, 43%)
CMYKcmyk(13.8%, 40.4%, 0%, 57.3%)
CIE-LABlab(32.40, 21.49, -20.71)
CIE-LCHlch(32.40, 29.84, 316.07°)
OKLaboklab(42.59% 0.0543 -0.0571)
OKLCHoklch(42.59% 0.079 313.5)
XYZxyz(9.2663, 7.2646, 15.3791)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E416D #506D41
analogous
#48416D #5E416D #6D4166
triadic
#5E416D #6D5E41 #416D5E
tetradic
#5E416D #6D4841 #506D41 #41666D
square
#5E416D #6D4841 #506D41 #41666D
split-complementary
#5E416D #666D41 #416D48
monochromatic
#1C1320 #3D2A47 #5E416D #7F5893 #9D79AF

Accessibility & contrast

On white

8.56
#5E416D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#5E416D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E416D
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E416D#FFFFFF#000000##FFFFFF
##5E416D1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394B6F
Deuteranopia (green-blind)
#404D6C
Tritanopia (blue-blind)
#5D4752
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5e416d;
/* rgb */ color: rgb(94, 65, 109);
/* oklch */ color: oklch(42.6% 0.079 313.5);
Tailwind
colors: {
  custom: {
    50: '#8c7697',
    500: '#5e416d',
    950: '#000000',
  },
}
SCSS
$custom: #5e416d;
$custom-light: #8c7697;
$custom-dark: #000000;
JSON
{
  "hex": "#5e416d",
  "rgb": {
    "r": 94,
    "g": 65,
    "b": 109
  },
  "hsl": {
    "h": 279.545,
    "s": 25.287,
    "l": 34.118
  },
  "oklch": {
    "l": 0.4259,
    "c": 0.07876,
    "h": 313.5
  },
  "luminance": 0.07264
}

Semantic roles & 50–950 ramp

primary
#5E416D
secondary
#7E9B6F
accent
#C26685
background
#F8F7F9
surface
#F0EDF2
border
#CBC8CC
text
#0C080D
muted
#7D7B7E

Preview Lab

Preview with #5E416D

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

Preview Lab → · Contrast checker → · Palette generator →

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