#4E3D9D#4E3D9D

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

Color values

HEX#4E3D9D
RGBrgb(78, 61, 157)
HSLhsl(251, 44%, 43%)
HSVhsv(251, 61%, 62%)
CMYKcmyk(50.3%, 61.1%, 0%, 38.4%)
CIE-LABlab(32.68, 33.05, -50.06)
CIE-LCHlch(32.68, 59.99, 303.43°)
OKLaboklab(43.35% 0.0425 -0.1433)
OKLCHoklch(43.35% 0.149 286.5)
XYZxyz(10.8946, 7.3910, 32.7443)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3D9D #8C9D3D
analogous
#3D5C9D #4E3D9D #7E3D9D
triadic
#4E3D9D #9D4E3D #3D9D4E
tetradic
#4E3D9D #9D3D5C #8C9D3D #3D9D7E
square
#4E3D9D #9D3D5C #8C9D3D #3D9D7E
split-complementary
#4E3D9D #9D7E3D #5C9D3D
monochromatic
#221B45 #382C71 #4E3D9D #6B59BE #9285D0

Accessibility & contrast

On white

8.47
#4E3D9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#4E3D9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3D9D
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3D9D#FFFFFF#000000##FFFFFF
##4E3D9D1.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA0
Deuteranopia (green-blind)
#004A9B
Tritanopia (blue-blind)
#325367
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e3d9d;
/* rgb */ color: rgb(78, 61, 157);
/* oklch */ color: oklch(43.4% 0.149 286.5);
Tailwind
colors: {
  custom: {
    50: '#8673bb',
    500: '#4e3d9d',
    950: '#000000',
  },
}
SCSS
$custom: #4e3d9d;
$custom-light: #8673bb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3d9d",
  "rgb": {
    "r": 78,
    "g": 61,
    "b": 157
  },
  "hsl": {
    "h": 250.625,
    "s": 44.037,
    "l": 42.745
  },
  "oklch": {
    "l": 0.4335,
    "c": 0.14943,
    "h": 286.5
  },
  "luminance": 0.07392
}

Semantic roles & 50–950 ramp

primary
#4E3D9D
secondary
#AFBA7C
accent
#D454BD
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4E3D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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