#4E379B#4E379B

#4E379B is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.2% C 0.155 H 288.5°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#4E379B
RGBrgb(78, 55, 155)
HSLhsl(254, 48%, 41%)
HSVhsv(254, 65%, 61%)
CMYKcmyk(49.7%, 64.5%, 0%, 39.2%)
CIE-LABlab(31.16, 36.06, -51.32)
CIE-LCHlch(31.16, 62.73, 305.09°)
OKLaboklab(42.19% 0.0492 -0.147)
OKLCHoklch(42.19% 0.155 288.5)
XYZxyz(10.4228, 6.7182, 31.7515)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E379B #849B37
analogous
#37529B #4E379B #80379B
triadic
#4E379B #9B4E37 #379B4E
tetradic
#4E379B #9B3752 #849B37 #379B80
square
#4E379B #9B3752 #849B37 #379B80
split-complementary
#4E379B #9B8037 #529B37
monochromatic
#211741 #37276E #4E379B #694FC0 #8F7CD0

Accessibility & contrast

On white

8.96
#4E379B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#4E379B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E379B
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E379B#FFFFFF#000000##FFFFFF
##4E379B1.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9E
Deuteranopia (green-blind)
#004799
Tritanopia (blue-blind)
#344F64
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4e379b;
/* rgb */ color: rgb(78, 55, 155);
/* oklch */ color: oklch(42.2% 0.155 288.5);
Tailwind
colors: {
  custom: {
    50: '#866fb9',
    500: '#4e379b',
    950: '#000000',
  },
}
SCSS
$custom: #4e379b;
$custom-light: #866fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e379b",
  "rgb": {
    "r": 78,
    "g": 55,
    "b": 155
  },
  "hsl": {
    "h": 253.8,
    "s": 47.619,
    "l": 41.176
  },
  "oklch": {
    "l": 0.42189,
    "c": 0.155,
    "h": 288.5
  },
  "luminance": 0.06719
}

Semantic roles & 50–950 ramp

primary
#4E379B
secondary
#AABA74
accent
#D751B8
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #4E379B

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

Preview Lab → · Contrast checker → · Palette generator →

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