#4E378F#4E378F

#4E378F is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.2% C 0.139 H 291.1°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#4E378F
RGBrgb(78, 55, 143)
HSLhsl(256, 44%, 39%)
HSVhsv(256, 62%, 56%)
CMYKcmyk(45.5%, 61.5%, 0%, 43.9%)
CIE-LABlab(30.24, 32.43, -45.46)
CIE-LCHlch(30.24, 55.85, 305.50°)
OKLaboklab(41.23% 0.0501 -0.1297)
OKLCHoklch(41.23% 0.139 291.1)
XYZxyz(9.4646, 6.3349, 26.7054)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E378F #788F37
analogous
#374C8F #4E378F #7A378F
triadic
#4E378F #8F4E37 #378F4E
tetradic
#4E378F #8F374C #788F37 #378F7A
square
#4E378F #8F374C #788F37 #378F7A
split-complementary
#4E378F #8F7A37 #4C8F37
monochromatic
#1E1537 #362663 #4E378F #674AB9 #8C76CA

Accessibility & contrast

On white

9.26
#4E378F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#4E378F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E378F
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E378F#FFFFFF#000000##FFFFFF
##4E378F1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#00458D
Tritanopia (blue-blind)
#3B4B5D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4e378f;
/* rgb */ color: rgb(78, 55, 143);
/* oklch */ color: oklch(41.2% 0.139 291.1);
Tailwind
colors: {
  custom: {
    50: '#856fb0',
    500: '#4e378f',
    950: '#000000',
  },
}
SCSS
$custom: #4e378f;
$custom-light: #856fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e378f",
  "rgb": {
    "r": 78,
    "g": 55,
    "b": 143
  },
  "hsl": {
    "h": 255.682,
    "s": 44.444,
    "l": 38.824
  },
  "oklch": {
    "l": 0.41234,
    "c": 0.13907,
    "h": 291.1
  },
  "luminance": 0.06335
}

Semantic roles & 50–950 ramp

primary
#4E378F
secondary
#A1B36F
accent
#D454B3
background
#F8F6FA
surface
#F0ECF5
border
#CBC7CF
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #4E378F

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

Preview Lab → · Contrast checker → · Palette generator →

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