#5E4D99#5E4D99

#5E4D99 is a mid, moderate violet. Relative luminance 0.100; OKLCH L 47.4% C 0.119 H 291.5°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#5E4D99
RGBrgb(94, 77, 153)
HSLhsl(253, 33%, 45%)
HSVhsv(253, 50%, 60%)
CMYKcmyk(38.6%, 49.7%, 0%, 40%)
CIE-LABlab(37.82, 25.76, -39.31)
CIE-LCHlch(37.82, 46.99, 303.24°)
OKLaboklab(47.44% 0.0437 -0.1111)
OKLCHoklch(47.44% 0.119 291.5)
XYZxyz(13.0182, 9.9870, 31.3726)
Luminance0.0999 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4D99 #88994D
analogous
#4D6299 #5E4D99 #844D99
triadic
#5E4D99 #995E4D #4D995E
tetradic
#5E4D99 #994D62 #88994D #4D9984
square
#5E4D99 #994D62 #88994D #4D9984
split-complementary
#5E4D99 #99844D #62994D
monochromatic
#2C2448 #453970 #5E4D99 #7E6DB6 #A296CA

Accessibility & contrast

On white

7.01
#5E4D99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#5E4D99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4D99
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4D99#FFFFFF#000000##FFFFFF
##5E4D991.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305A9C
Deuteranopia (green-blind)
#325797
Tritanopia (blue-blind)
#4F5C6C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5e4d99;
/* rgb */ color: rgb(94, 77, 153);
/* oklch */ color: oklch(47.4% 0.119 291.5);
Tailwind
colors: {
  custom: {
    50: '#8f7fb7',
    500: '#5e4d99',
    950: '#000000',
  },
}
SCSS
$custom: #5e4d99;
$custom-light: #8f7fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4d99",
  "rgb": {
    "r": 94,
    "g": 77,
    "b": 153
  },
  "hsl": {
    "h": 253.421,
    "s": 33.043,
    "l": 45.098
  },
  "oklch": {
    "l": 0.4744,
    "c": 0.11941,
    "h": 291.5
  },
  "luminance": 0.09987
}

Semantic roles & 50–950 ramp

primary
#5E4D99
secondary
#ADB78B
accent
#C95FB1
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0D0A11
muted
#7D7C80

Preview Lab

Preview with #5E4D99

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

Preview Lab → · Contrast checker → · Palette generator →

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