#4E4480#4E4480

#4E4480 is a dark, moderate violet. Relative luminance 0.073; OKLCH L 42.6% C 0.097 H 289.3°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#4E4480
RGBrgb(78, 68, 128)
HSLhsl(250, 31%, 38%)
HSVhsv(250, 47%, 50%)
CMYKcmyk(39.1%, 46.9%, 0%, 49.8%)
CIE-LABlab(32.51, 19.69, -32.56)
CIE-LCHlch(32.51, 38.05, 301.16°)
OKLaboklab(42.6% 0.0321 -0.0918)
OKLCHoklch(42.6% 0.097 289.3)
XYZxyz(9.1042, 7.3122, 21.3496)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4480 #768044
analogous
#445880 #4E4480 #6C4480
triadic
#4E4480 #804E44 #44804E
tetradic
#4E4480 #804458 #768044 #44806C
square
#4E4480 #804458 #768044 #44806C
split-complementary
#4E4480 #806C44 #588044
monochromatic
#1D1A30 #362F58 #4E4480 #675AA7 #8C82BD

Accessibility & contrast

On white

8.53
#4E4480 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#4E4480 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4480
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4480#FFFFFF#000000##FFFFFF
##4E44801.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4E82
Deuteranopia (green-blind)
#2F4B7F
Tritanopia (blue-blind)
#41505C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4e4480;
/* rgb */ color: rgb(78, 68, 128);
/* oklch */ color: oklch(42.6% 0.097 289.3);
Tailwind
colors: {
  custom: {
    50: '#8278a5',
    500: '#4e4480',
    950: '#000000',
  },
}
SCSS
$custom: #4e4480;
$custom-light: #8278a5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4480",
  "rgb": {
    "r": 78,
    "g": 68,
    "b": 128
  },
  "hsl": {
    "h": 250,
    "s": 30.612,
    "l": 38.431
  },
  "oklch": {
    "l": 0.42602,
    "c": 0.09728,
    "h": 289.3
  },
  "luminance": 0.07312
}

Semantic roles & 50–950 ramp

primary
#4E4480
secondary
#A0A878
accent
#C761B6
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B090F
muted
#7C7B7F

Preview Lab

Preview with #4E4480

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

Preview Lab → · Contrast checker → · Palette generator →

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