#4E3B99#4E3B99

#4E3B99 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 42.7% C 0.147 H 287.8°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#4E3B99
RGBrgb(78, 59, 153)
HSLhsl(252, 44%, 42%)
HSVhsv(252, 61%, 60%)
CMYKcmyk(49%, 61.4%, 0%, 40%)
CIE-LABlab(31.91, 33.04, -48.88)
CIE-LCHlch(31.91, 58.99, 304.06°)
OKLaboklab(42.69% 0.0449 -0.1398)
OKLCHoklch(42.69% 0.147 287.8)
XYZxyz(10.4540, 7.0471, 30.9402)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3B99 #86993B
analogous
#3B5799 #4E3B99 #7D3B99
triadic
#4E3B99 #994E3B #3B994E
tetradic
#4E3B99 #993B57 #86993B #3B997D
square
#4E3B99 #993B57 #86993B #3B997D
split-complementary
#4E3B99 #997D3B #57993B
monochromatic
#211941 #372A6D #4E3B99 #6954BD #9080CE

Accessibility & contrast

On white

8.72
#4E3B99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#4E3B99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3B99
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3B99#FFFFFF#000000##FFFFFF
##4E3B991.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9C
Deuteranopia (green-blind)
#004997
Tritanopia (blue-blind)
#355164
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4e3b99;
/* rgb */ color: rgb(78, 59, 153);
/* oklch */ color: oklch(42.7% 0.147 287.8);
Tailwind
colors: {
  custom: {
    50: '#8672b8',
    500: '#4e3b99',
    950: '#000000',
  },
}
SCSS
$custom: #4e3b99;
$custom-light: #8672b8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3b99",
  "rgb": {
    "r": 78,
    "g": 59,
    "b": 153
  },
  "hsl": {
    "h": 252.128,
    "s": 44.34,
    "l": 41.569
  },
  "oklch": {
    "l": 0.42693,
    "c": 0.14682,
    "h": 287.8
  },
  "luminance": 0.07048
}

Semantic roles & 50–950 ramp

primary
#4E3B99
secondary
#ABB878
accent
#D454BA
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0811
muted
#7D7B80

Preview Lab

Preview with #4E3B99

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

Preview Lab → · Contrast checker → · Palette generator →

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