#4E378E#4E378E

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

Color values

HEX#4E378E
RGBrgb(78, 55, 142)
HSLhsl(256, 44%, 39%)
HSVhsv(256, 61%, 56%)
CMYKcmyk(45.1%, 61.3%, 0%, 44.3%)
CIE-LABlab(30.17, 32.13, -44.97)
CIE-LCHlch(30.17, 55.27, 305.55°)
OKLaboklab(41.16% 0.0501 -0.1283)
OKLCHoklch(41.16% 0.138 291.3)
XYZxyz(9.3892, 6.3048, 26.3082)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E378E #778E37
analogous
#374B8E #4E378E #79378E
triadic
#4E378E #8E4E37 #378E4E
tetradic
#4E378E #8E374B #778E37 #378E79
square
#4E378E #8E374B #778E37 #378E79
split-complementary
#4E378E #8E7937 #4B8E37
monochromatic
#1E1536 #362662 #4E378E #6749B9 #8C76CA

Accessibility & contrast

On white

9.29
#4E378E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E378E
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E378E#FFFFFF#000000##FFFFFF
##4E378E1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e378e;
/* rgb */ color: rgb(78, 55, 142);
/* oklch */ color: oklch(41.2% 0.138 291.3);
Tailwind
colors: {
  custom: {
    50: '#856fb0',
    500: '#4e378e',
    950: '#000000',
  },
}
SCSS
$custom: #4e378e;
$custom-light: #856fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e378e",
  "rgb": {
    "r": 78,
    "g": 55,
    "b": 142
  },
  "hsl": {
    "h": 255.862,
    "s": 44.162,
    "l": 38.627
  },
  "oklch": {
    "l": 0.41157,
    "c": 0.13772,
    "h": 291.3
  },
  "luminance": 0.06305
}

Semantic roles & 50–950 ramp

primary
#4E378E
secondary
#A1B36E
accent
#D454B2
background
#F8F6FA
surface
#F0ECF5
border
#CBC7CF
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #4E378E

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

Preview Lab → · Contrast checker → · Palette generator →

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