#4E3D9E#4E3D9E

#4E3D9E is a dark, vivid violet. Relative luminance 0.074; OKLCH L 43.4% C 0.151 H 286.3°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#4E3D9E
RGBrgb(78, 61, 158)
HSLhsl(251, 44%, 43%)
HSVhsv(251, 61%, 62%)
CMYKcmyk(50.6%, 61.4%, 0%, 38%)
CIE-LABlab(32.76, 33.36, -50.55)
CIE-LCHlch(32.76, 60.56, 303.43°)
OKLaboklab(43.43% 0.0424 -0.1447)
OKLCHoklch(43.43% 0.151 286.3)
XYZxyz(10.9804, 7.4253, 33.1958)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3D9E #8D9E3D
analogous
#3D5D9E #4E3D9E #7E3D9E
triadic
#4E3D9E #9E4E3D #3D9E4E
tetradic
#4E3D9E #9E3D5D #8D9E3D #3D9E7E
square
#4E3D9E #9E3D5D #8D9E3D #3D9E7E
split-complementary
#4E3D9E #9E7E3D #5D9E3D
monochromatic
#221B46 #382C72 #4E3D9E #6B59BF #9285D0

Accessibility & contrast

On white

8.45
#4E3D9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#4E3D9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3D9E
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3D9E#FFFFFF#000000##FFFFFF
##4E3D9E1.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A1
Deuteranopia (green-blind)
#004A9C
Tritanopia (blue-blind)
#315467
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e3d9e;
/* rgb */ color: rgb(78, 61, 158);
/* oklch */ color: oklch(43.4% 0.151 286.3);
Tailwind
colors: {
  custom: {
    50: '#8673bb',
    500: '#4e3d9e',
    950: '#000000',
  },
}
SCSS
$custom: #4e3d9e;
$custom-light: #8673bb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3d9e",
  "rgb": {
    "r": 78,
    "g": 61,
    "b": 158
  },
  "hsl": {
    "h": 250.515,
    "s": 44.292,
    "l": 42.941
  },
  "oklch": {
    "l": 0.43428,
    "c": 0.15077,
    "h": 286.3
  },
  "luminance": 0.07426
}

Semantic roles & 50–950 ramp

primary
#4E3D9E
secondary
#AFBA7D
accent
#D454BE
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4E3D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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