#4E4081#4E4081

#4E4081 is a dark, moderate violet. Relative luminance 0.069; OKLCH L 41.9% C 0.105 H 291.1°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#4E4081
RGBrgb(78, 64, 129)
HSLhsl(253, 34%, 38%)
HSVhsv(253, 50%, 51%)
CMYKcmyk(39.5%, 50.4%, 0%, 49.4%)
CIE-LABlab(31.51, 22.57, -34.76)
CIE-LCHlch(31.51, 41.45, 302.99°)
OKLaboklab(41.87% 0.0379 -0.0983)
OKLCHoklch(41.87% 0.105 291.1)
XYZxyz(8.9367, 6.8712, 21.6201)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4081 #738140
analogous
#405281 #4E4081 #6E4081
triadic
#4E4081 #814E40 #40814E
tetradic
#4E4081 #814052 #738140 #40816E
square
#4E4081 #814052 #738140 #40816E
split-complementary
#4E4081 #816E40 #528140
monochromatic
#1D172F #352C58 #4E4081 #6754AA #8B7DBE

Accessibility & contrast

On white

8.85
#4E4081 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#4E4081 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4081
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4081#FFFFFF#000000##FFFFFF
##4E40811.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274B83
Deuteranopia (green-blind)
#29497F
Tritanopia (blue-blind)
#414D5A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4e4081;
/* rgb */ color: rgb(78, 64, 129);
/* oklch */ color: oklch(41.9% 0.105 291.1);
Tailwind
colors: {
  custom: {
    50: '#8275a6',
    500: '#4e4081',
    950: '#000000',
  },
}
SCSS
$custom: #4e4081;
$custom-light: #8275a6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4081",
  "rgb": {
    "r": 78,
    "g": 64,
    "b": 129
  },
  "hsl": {
    "h": 252.923,
    "s": 33.679,
    "l": 37.843
  },
  "oklch": {
    "l": 0.41872,
    "c": 0.10534,
    "h": 291.1
  },
  "luminance": 0.06871
}

Semantic roles & 50–950 ramp

primary
#4E4081
secondary
#9EA974
accent
#CA5EB3
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B080F
muted
#7C7B7F

Preview Lab

Preview with #4E4081

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

Preview Lab → · Contrast checker → · Palette generator →

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