#4E3E84#4E3E84

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

Color values

HEX#4E3E84
RGBrgb(78, 62, 132)
HSLhsl(254, 36%, 38%)
HSVhsv(254, 53%, 52%)
CMYKcmyk(40.9%, 53%, 0%, 48.2%)
CIE-LABlab(31.19, 24.75, -37.15)
CIE-LCHlch(31.19, 44.64, 303.67°)
OKLaboklab(41.69% 0.0409 -0.1053)
OKLCHoklch(41.69% 0.113 291.2)
XYZxyz(9.0282, 6.7306, 22.6488)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3E84 #74843E
analogous
#3E5184 #4E3E84 #713E84
triadic
#4E3E84 #844E3E #3E844E
tetradic
#4E3E84 #843E51 #74843E #3E8471
square
#4E3E84 #843E51 #74843E #3E8471
split-complementary
#4E3E84 #84713E #51843E
monochromatic
#1D1731 #352A5A #4E3E84 #6752AE #8B7BC1

Accessibility & contrast

On white

8.95
#4E3E84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#4E3E84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3E84
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3E84#FFFFFF#000000##FFFFFF
##4E3E841.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214B86
Deuteranopia (green-blind)
#234882
Tritanopia (blue-blind)
#404C5B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4e3e84;
/* rgb */ color: rgb(78, 62, 132);
/* oklch */ color: oklch(41.7% 0.113 291.2);
Tailwind
colors: {
  custom: {
    50: '#8373a8',
    500: '#4e3e84',
    950: '#000000',
  },
}
SCSS
$custom: #4e3e84;
$custom-light: #8373a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3e84",
  "rgb": {
    "r": 78,
    "g": 62,
    "b": 132
  },
  "hsl": {
    "h": 253.714,
    "s": 36.082,
    "l": 38.039
  },
  "oklch": {
    "l": 0.41689,
    "c": 0.11295,
    "h": 291.2
  },
  "luminance": 0.06731
}

Semantic roles & 50–950 ramp

primary
#4E3E84
secondary
#9EAB73
accent
#CC5CB2
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0810
muted
#7C7B7F

Preview Lab

Preview with #4E3E84

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

Preview Lab → · Contrast checker → · Palette generator →

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