#4E378A#4E378A

#4E378A is a dark, vivid violet. Relative luminance 0.062; OKLCH L 40.9% C 0.132 H 292.3°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#4E378A
RGBrgb(78, 55, 138)
HSLhsl(257, 43%, 38%)
HSVhsv(257, 60%, 54%)
CMYKcmyk(43.5%, 60.1%, 0%, 45.9%)
CIE-LABlab(29.88, 30.94, -42.96)
CIE-LCHlch(29.88, 52.94, 305.75°)
OKLaboklab(40.85% 0.0502 -0.1224)
OKLCHoklch(40.85% 0.132 292.3)
XYZxyz(9.0943, 6.1868, 24.7548)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E378A #738A37
analogous
#37498A #4E378A #78378A
triadic
#4E378A #8A4E37 #378A4E
tetradic
#4E378A #8A3749 #738A37 #378A78
square
#4E378A #8A3749 #738A37 #378A78
split-complementary
#4E378A #8A7837 #498A37
monochromatic
#1D1432 #35265E #4E378A #6748B6 #8B74C8

Accessibility & contrast

On white

9.39
#4E378A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#4E378A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E378A
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E378A#FFFFFF#000000##FFFFFF
##4E378A1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00488D
Deuteranopia (green-blind)
#0A4588
Tritanopia (blue-blind)
#3D495B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4e378a;
/* rgb */ color: rgb(78, 55, 138);
/* oklch */ color: oklch(40.9% 0.132 292.3);
Tailwind
colors: {
  custom: {
    50: '#846fad',
    500: '#4e378a',
    950: '#000000',
  },
}
SCSS
$custom: #4e378a;
$custom-light: #846fad;
$custom-dark: #000000;
JSON
{
  "hex": "#4e378a",
  "rgb": {
    "r": 78,
    "g": 55,
    "b": 138
  },
  "hsl": {
    "h": 256.627,
    "s": 43.005,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40852,
    "c": 0.1323,
    "h": 292.3
  },
  "luminance": 0.06187
}

Semantic roles & 50–950 ramp

primary
#4E378A
secondary
#9EB06D
accent
#D355B0
background
#F8F6FA
surface
#EFECF4
border
#CAC7CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #4E378A

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

Preview Lab → · Contrast checker → · Palette generator →

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