#4E378D#4E378D

#4E378D is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.1% C 0.136 H 291.6°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#4E378D
RGBrgb(78, 55, 141)
HSLhsl(256, 44%, 38%)
HSVhsv(256, 61%, 55%)
CMYKcmyk(44.7%, 61%, 0%, 44.7%)
CIE-LABlab(30.10, 31.83, -44.47)
CIE-LCHlch(30.10, 54.69, 305.60°)
OKLaboklab(41.08% 0.0501 -0.1268)
OKLCHoklch(41.08% 0.136 291.6)
XYZxyz(9.3145, 6.2749, 25.9145)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E378D #768D37
analogous
#374B8D #4E378D #79378D
triadic
#4E378D #8D4E37 #378D4E
tetradic
#4E378D #8D374B #768D37 #378D79
square
#4E378D #8D374B #768D37 #378D79
split-complementary
#4E378D #8D7937 #4B8D37
monochromatic
#1D1535 #362661 #4E378D #6749B8 #8C75C9

Accessibility & contrast

On white

9.31
#4E378D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#4E378D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E378D
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E378D#FFFFFF#000000##FFFFFF
##4E378D1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004890
Deuteranopia (green-blind)
#00458B
Tritanopia (blue-blind)
#3C4A5C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4e378d;
/* rgb */ color: rgb(78, 55, 141);
/* oklch */ color: oklch(41.1% 0.136 291.6);
Tailwind
colors: {
  custom: {
    50: '#846faf',
    500: '#4e378d',
    950: '#000000',
  },
}
SCSS
$custom: #4e378d;
$custom-light: #846faf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e378d",
  "rgb": {
    "r": 78,
    "g": 55,
    "b": 141
  },
  "hsl": {
    "h": 256.047,
    "s": 43.878,
    "l": 38.431
  },
  "oklch": {
    "l": 0.4108,
    "c": 0.13637,
    "h": 291.6
  },
  "luminance": 0.06275
}

Semantic roles & 50–950 ramp

primary
#4E378D
secondary
#A0B26E
accent
#D454B2
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #4E378D

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

Preview Lab → · Contrast checker → · Palette generator →

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