#4E3D86#4E3D86

#4E3D86 is a dark, moderate violet. Relative luminance 0.067; OKLCH L 41.6% C 0.117 H 291.2°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#4E3D86
RGBrgb(78, 61, 134)
HSLhsl(254, 37%, 38%)
HSVhsv(254, 54%, 53%)
CMYKcmyk(41.8%, 54.5%, 0%, 47.5%)
CIE-LABlab(31.06, 25.99, -38.58)
CIE-LCHlch(31.06, 46.52, 303.96°)
OKLaboklab(41.64% 0.0424 -0.1095)
OKLCHoklch(41.64% 0.117 291.2)
XYZxyz(9.1125, 6.6782, 23.3585)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3D86 #75863D
analogous
#3D5086 #4E3D86 #723D86
triadic
#4E3D86 #864E3D #3D864E
tetradic
#4E3D86 #863D50 #75863D #3D8672
square
#4E3D86 #863D50 #75863D #3D8672
split-complementary
#4E3D86 #86723D #50863D
monochromatic
#1D1732 #362A5C #4E3D86 #6751B0 #8B7BC3

Accessibility & contrast

On white

8.99
#4E3D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#4E3D86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3D86
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3D86#FFFFFF#000000##FFFFFF
##4E3D861.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4A89
Deuteranopia (green-blind)
#1F4884
Tritanopia (blue-blind)
#3F4C5B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4e3d86;
/* rgb */ color: rgb(78, 61, 134);
/* oklch */ color: oklch(41.6% 0.117 291.2);
Tailwind
colors: {
  custom: {
    50: '#8373aa',
    500: '#4e3d86',
    950: '#000000',
  },
}
SCSS
$custom: #4e3d86;
$custom-light: #8373aa;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3d86",
  "rgb": {
    "r": 78,
    "g": 61,
    "b": 134
  },
  "hsl": {
    "h": 253.973,
    "s": 37.436,
    "l": 38.235
  },
  "oklch": {
    "l": 0.41639,
    "c": 0.11743,
    "h": 291.2
  },
  "luminance": 0.06678
}

Semantic roles & 50–950 ramp

primary
#4E3D86
secondary
#9FAD72
accent
#CD5AB3
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0810
muted
#7C7B7F

Preview Lab

Preview with #4E3D86

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

Preview Lab → · Contrast checker → · Palette generator →

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