#4E4381#4E4381

#4E4381 is a dark, moderate violet. Relative luminance 0.072; OKLCH L 42.5% C 0.100 H 289.6°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#4E4381
RGBrgb(78, 67, 129)
HSLhsl(251, 32%, 38%)
HSVhsv(251, 48%, 51%)
CMYKcmyk(39.5%, 48.1%, 0%, 49.4%)
CIE-LABlab(32.30, 20.64, -33.51)
CIE-LCHlch(32.30, 39.35, 301.63°)
OKLaboklab(42.46% 0.0336 -0.0946)
OKLCHoklch(42.46% 0.1 289.6)
XYZxyz(9.1104, 7.2187, 21.6780)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4381 #768143
analogous
#435781 #4E4381 #6D4381
triadic
#4E4381 #814E43 #43814E
tetradic
#4E4381 #814357 #768143 #43816D
square
#4E4381 #814357 #768143 #43816D
split-complementary
#4E4381 #816D43 #578143
monochromatic
#1D1930 #362E59 #4E4381 #6759A9 #8C81BE

Accessibility & contrast

On white

8.59
#4E4381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#4E4381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4381
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4381#FFFFFF#000000##FFFFFF
##4E43811.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4D83
Deuteranopia (green-blind)
#2D4B80
Tritanopia (blue-blind)
#414F5C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4e4381;
/* rgb */ color: rgb(78, 67, 129);
/* oklch */ color: oklch(42.5% 0.100 289.6);
Tailwind
colors: {
  custom: {
    50: '#8277a6',
    500: '#4e4381',
    950: '#000000',
  },
}
SCSS
$custom: #4e4381;
$custom-light: #8277a6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4381",
  "rgb": {
    "r": 78,
    "g": 67,
    "b": 129
  },
  "hsl": {
    "h": 250.645,
    "s": 31.633,
    "l": 38.431
  },
  "oklch": {
    "l": 0.42464,
    "c": 0.10042,
    "h": 289.6
  },
  "luminance": 0.07219
}

Semantic roles & 50–950 ramp

primary
#4E4381
secondary
#A0A977
accent
#C860B5
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B080F
muted
#7C7B7F

Preview Lab

Preview with #4E4381

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

Preview Lab → · Contrast checker → · Palette generator →

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