#4E379F#4E379F

#4E379F is a dark, vivid violet. Relative luminance 0.069; OKLCH L 42.5% C 0.160 H 287.7°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#4E379F
RGBrgb(78, 55, 159)
HSLhsl(253, 49%, 42%)
HSVhsv(253, 65%, 62%)
CMYKcmyk(50.9%, 65.4%, 0%, 37.6%)
CIE-LABlab(31.47, 37.28, -53.23)
CIE-LCHlch(31.47, 64.99, 305.00°)
OKLaboklab(42.52% 0.0488 -0.1526)
OKLCHoklch(42.52% 0.16 287.7)
XYZxyz(10.7643, 6.8548, 33.5501)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E379F #889F37
analogous
#37549F #4E379F #82379F
triadic
#4E379F #9F4E37 #379F4E
tetradic
#4E379F #9F3754 #889F37 #379F82
square
#4E379F #9F3754 #889F37 #379F82
split-complementary
#4E379F #9F8237 #549F37
monochromatic
#211844 #382772 #4E379F #6A51C3 #917ED2

Accessibility & contrast

On white

8.86
#4E379F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#4E379F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E379F
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E379F#FFFFFF#000000##FFFFFF
##4E379F1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA2
Deuteranopia (green-blind)
#00479D
Tritanopia (blue-blind)
#315066
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4e379f;
/* rgb */ color: rgb(78, 55, 159);
/* oklch */ color: oklch(42.5% 0.160 287.7);
Tailwind
colors: {
  custom: {
    50: '#876fbc',
    500: '#4e379f',
    950: '#000000',
  },
}
SCSS
$custom: #4e379f;
$custom-light: #876fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e379f",
  "rgb": {
    "r": 78,
    "g": 55,
    "b": 159
  },
  "hsl": {
    "h": 253.269,
    "s": 48.598,
    "l": 41.961
  },
  "oklch": {
    "l": 0.42519,
    "c": 0.16021,
    "h": 287.7
  },
  "luminance": 0.06855
}

Semantic roles & 50–950 ramp

primary
#4E379F
secondary
#ACBC76
accent
#D850BA
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #4E379F

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

Preview Lab → · Contrast checker → · Palette generator →

#4E379F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva