#4E3D99#4E3D99

#4E3D99 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.0% C 0.144 H 287.2°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#4E3D99
RGBrgb(78, 61, 153)
HSLhsl(251, 43%, 42%)
HSVhsv(251, 60%, 60%)
CMYKcmyk(49%, 60.1%, 0%, 40%)
CIE-LABlab(32.38, 31.81, -48.12)
CIE-LCHlch(32.38, 57.68, 303.47°)
OKLaboklab(43.04% 0.0426 -0.1375)
OKLCHoklch(43.04% 0.144 287.2)
XYZxyz(10.5587, 7.2566, 30.9751)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3D99 #88993D
analogous
#3D5A99 #4E3D99 #7C3D99
triadic
#4E3D99 #994E3D #3D994E
tetradic
#4E3D99 #993D5A #88993D #3D997C
square
#4E3D99 #993D5A #88993D #3D997C
split-complementary
#4E3D99 #997C3D #5A993D
monochromatic
#211A41 #382C6D #4E3D99 #6A57BC #9183CE

Accessibility & contrast

On white

8.57
#4E3D99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#4E3D99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3D99
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3D99#FFFFFF#000000##FFFFFF
##4E3D991.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e3d99;
/* rgb */ color: rgb(78, 61, 153);
/* oklch */ color: oklch(43.0% 0.144 287.2);
Tailwind
colors: {
  custom: {
    50: '#8673b8',
    500: '#4e3d99',
    950: '#000000',
  },
}
SCSS
$custom: #4e3d99;
$custom-light: #8673b8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3d99",
  "rgb": {
    "r": 78,
    "g": 61,
    "b": 153
  },
  "hsl": {
    "h": 251.087,
    "s": 42.991,
    "l": 41.961
  },
  "oklch": {
    "l": 0.43038,
    "c": 0.14399,
    "h": 287.2
  },
  "luminance": 0.07257
}

Semantic roles & 50–950 ramp

primary
#4E3D99
secondary
#ACB87A
accent
#D355BC
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0811
muted
#7D7B80

Preview Lab

Preview with #4E3D99

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

Preview Lab → · Contrast checker → · Palette generator →

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