#4E399E#4E399E

#4E399E is a dark, vivid violet. Relative luminance 0.070; OKLCH L 42.8% C 0.156 H 287.4°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#4E399E
RGBrgb(78, 57, 158)
HSLhsl(252, 47%, 42%)
HSVhsv(252, 64%, 62%)
CMYKcmyk(50.6%, 63.9%, 0%, 38%)
CIE-LABlab(31.84, 35.79, -52.03)
CIE-LCHlch(31.84, 63.15, 304.52°)
OKLaboklab(42.76% 0.0468 -0.1491)
OKLCHoklch(42.76% 0.156 287.4)
XYZxyz(10.7748, 7.0141, 33.1272)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E399E #899E39
analogous
#39579E #4E399E #81399E
triadic
#4E399E #9E4E39 #399E4E
tetradic
#4E399E #9E3957 #899E39 #399E81
square
#4E399E #9E3957 #899E39 #399E81
split-complementary
#4E399E #9E8139 #579E39
monochromatic
#221944 #382971 #4E399E #6A53C1 #9180D1

Accessibility & contrast

On white

8.74
#4E399E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#4E399E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E399E
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E399E#FFFFFF#000000##FFFFFF
##4E399E1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA1
Deuteranopia (green-blind)
#00489C
Tritanopia (blue-blind)
#325166
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4e399e;
/* rgb */ color: rgb(78, 57, 158);
/* oklch */ color: oklch(42.8% 0.156 287.4);
Tailwind
colors: {
  custom: {
    50: '#8770bb',
    500: '#4e399e',
    950: '#000000',
  },
}
SCSS
$custom: #4e399e;
$custom-light: #8770bb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e399e",
  "rgb": {
    "r": 78,
    "g": 57,
    "b": 158
  },
  "hsl": {
    "h": 252.475,
    "s": 46.977,
    "l": 42.157
  },
  "oklch": {
    "l": 0.42759,
    "c": 0.15624,
    "h": 287.4
  },
  "luminance": 0.07015
}

Semantic roles & 50–950 ramp

primary
#4E399E
secondary
#ADBB78
accent
#D751BB
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #4E399E

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

Preview Lab → · Contrast checker → · Palette generator →

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