#4E3C99#4E3C99

#4E3C99 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 42.9% C 0.145 H 287.5°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#4E3C99
RGBrgb(78, 60, 153)
HSLhsl(252, 44%, 42%)
HSVhsv(252, 61%, 60%)
CMYKcmyk(49%, 60.8%, 0%, 40%)
CIE-LABlab(32.15, 32.42, -48.50)
CIE-LCHlch(32.15, 58.34, 303.76°)
OKLaboklab(42.86% 0.0438 -0.1387)
OKLCHoklch(42.86% 0.145 287.5)
XYZxyz(10.5058, 7.1509, 30.9575)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3C99 #87993C
analogous
#3C5999 #4E3C99 #7D3C99
triadic
#4E3C99 #994E3C #3C994E
tetradic
#4E3C99 #993C59 #87993C #3C997D
square
#4E3C99 #993C59 #87993C #3C997D
split-complementary
#4E3C99 #997D3C #59993C
monochromatic
#211A41 #382B6D #4E3C99 #6A56BD #9082CE

Accessibility & contrast

On white

8.64
#4E3C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#4E3C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3C99
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3C99#FFFFFF#000000##FFFFFF
##4E3C991.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e3c99;
/* rgb */ color: rgb(78, 60, 153);
/* oklch */ color: oklch(42.9% 0.145 287.5);
Tailwind
colors: {
  custom: {
    50: '#8672b8',
    500: '#4e3c99',
    950: '#000000',
  },
}
SCSS
$custom: #4e3c99;
$custom-light: #8672b8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3c99",
  "rgb": {
    "r": 78,
    "g": 60,
    "b": 153
  },
  "hsl": {
    "h": 251.613,
    "s": 43.662,
    "l": 41.765
  },
  "oklch": {
    "l": 0.42864,
    "c": 0.14541,
    "h": 287.5
  },
  "luminance": 0.07151
}

Semantic roles & 50–950 ramp

primary
#4E3C99
secondary
#ACB879
accent
#D354BB
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0811
muted
#7D7B80

Preview Lab

Preview with #4E3C99

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

Preview Lab → · Contrast checker → · Palette generator →

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