#4E3D8A#4E3D8A

#4E3D8A is a dark, vivid violet. Relative luminance 0.068; OKLCH L 41.9% C 0.123 H 290.2°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#4E3D8A
RGBrgb(78, 61, 138)
HSLhsl(253, 39%, 39%)
HSVhsv(253, 56%, 54%)
CMYKcmyk(43.5%, 55.8%, 0%, 45.9%)
CIE-LABlab(31.33, 27.20, -40.63)
CIE-LCHlch(31.33, 48.89, 303.80°)
OKLaboklab(41.92% 0.0426 -0.1155)
OKLCHoklch(41.92% 0.123 290.2)
XYZxyz(9.3968, 6.7919, 24.8557)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3D8A #798A3D
analogous
#3D538A #4E3D8A #753D8A
triadic
#4E3D8A #8A4E3D #3D8A4E
tetradic
#4E3D8A #8A3D53 #798A3D #3D8A75
square
#4E3D8A #8A3D53 #798A3D #3D8A75
split-complementary
#4E3D8A #8A753D #538A3D
monochromatic
#1E1735 #362A60 #4E3D8A #6752B2 #8C7CC5

Accessibility & contrast

On white

8.90
#4E3D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#4E3D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3D8A
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3D8A#FFFFFF#000000##FFFFFF
##4E3D8A1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174B8D
Deuteranopia (green-blind)
#1A4888
Tritanopia (blue-blind)
#3D4D5D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4e3d8a;
/* rgb */ color: rgb(78, 61, 138);
/* oklch */ color: oklch(41.9% 0.123 290.2);
Tailwind
colors: {
  custom: {
    50: '#8473ad',
    500: '#4e3d8a',
    950: '#000000',
  },
}
SCSS
$custom: #4e3d8a;
$custom-light: #8473ad;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3d8a",
  "rgb": {
    "r": 78,
    "g": 61,
    "b": 138
  },
  "hsl": {
    "h": 253.247,
    "s": 38.693,
    "l": 39.02
  },
  "oklch": {
    "l": 0.41922,
    "c": 0.12313,
    "h": 290.2
  },
  "luminance": 0.06792
}

Semantic roles & 50–950 ramp

primary
#4E3D8A
secondary
#A2AF74
accent
#CF59B5
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0810
muted
#7C7B7F

Preview Lab

Preview with #4E3D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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