#4E4080#4E4080

#4E4080 is a dark, moderate violet. Relative luminance 0.068; OKLCH L 41.8% C 0.104 H 291.3°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#4E4080
RGBrgb(78, 64, 128)
HSLhsl(253, 33%, 38%)
HSVhsv(253, 50%, 50%)
CMYKcmyk(39.1%, 50%, 0%, 49.8%)
CIE-LABlab(31.45, 22.27, -34.24)
CIE-LCHlch(31.45, 40.84, 303.04°)
OKLaboklab(41.81% 0.0377 -0.0968)
OKLCHoklch(41.81% 0.104 291.3)
XYZxyz(8.8705, 6.8448, 21.2717)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4080 #728040
analogous
#405280 #4E4080 #6E4080
triadic
#4E4080 #804E40 #40804E
tetradic
#4E4080 #804052 #728040 #40806E
square
#4E4080 #804052 #728040 #40806E
split-complementary
#4E4080 #806E40 #528040
monochromatic
#1C172E #352C57 #4E4080 #6754A9 #8B7DBE

Accessibility & contrast

On white

8.86
#4E4080 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E4080
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4080#FFFFFF#000000##FFFFFF
##4E40801.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284B82
Deuteranopia (green-blind)
#2A497F
Tritanopia (blue-blind)
#414D5A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4e4080;
/* rgb */ color: rgb(78, 64, 128);
/* oklch */ color: oklch(41.8% 0.104 291.3);
Tailwind
colors: {
  custom: {
    50: '#8275a5',
    500: '#4e4080',
    950: '#000000',
  },
}
SCSS
$custom: #4e4080;
$custom-light: #8275a5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4080",
  "rgb": {
    "r": 78,
    "g": 64,
    "b": 128
  },
  "hsl": {
    "h": 253.125,
    "s": 33.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.41807,
    "c": 0.10386,
    "h": 291.3
  },
  "luminance": 0.06845
}

Semantic roles & 50–950 ramp

primary
#4E4080
secondary
#9DA874
accent
#C95EB2
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B080F
muted
#7C7B7F

Preview Lab

Preview with #4E4080

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

Preview Lab → · Contrast checker → · Palette generator →

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