#4E4470#4E4470

#4E4470 is a dark, moderate violet. Relative luminance 0.069; OKLCH L 41.7% C 0.073 H 293.4°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#4E4470
RGBrgb(78, 68, 112)
HSLhsl(254, 24%, 35%)
HSVhsv(254, 39%, 44%)
CMYKcmyk(30.4%, 39.3%, 0%, 56.1%)
CIE-LABlab(31.63, 15.02, -23.93)
CIE-LCHlch(31.63, 28.25, 302.11°)
OKLaboklab(41.65% 0.0289 -0.0667)
OKLCHoklch(41.65% 0.073 293.4)
XYZxyz(8.1329, 6.9237, 16.2340)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4470 #667044
analogous
#445070 #4E4470 #644470
triadic
#4E4470 #704E44 #44704E
tetradic
#4E4470 #704450 #667044 #447064
square
#4E4470 #704450 #667044 #447064
split-complementary
#4E4470 #706444 #507044
monochromatic
#191624 #332D4A #4E4470 #695B96 #897EB1

Accessibility & contrast

On white

8.81
#4E4470 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#4E4470 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4470
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4470#FFFFFF#000000##FFFFFF
##4E44701.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384B72
Deuteranopia (green-blind)
#394A6F
Tritanopia (blue-blind)
#474C54
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4e4470;
/* rgb */ color: rgb(78, 68, 112);
/* oklch */ color: oklch(41.7% 0.073 293.4);
Tailwind
colors: {
  custom: {
    50: '#817899',
    500: '#4e4470',
    950: '#000000',
  },
}
SCSS
$custom: #4e4470;
$custom-light: #817899;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4470",
  "rgb": {
    "r": 78,
    "g": 68,
    "b": 112
  },
  "hsl": {
    "h": 253.636,
    "s": 24.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41652,
    "c": 0.07273,
    "h": 293.4
  },
  "luminance": 0.06924
}

Semantic roles & 50–950 ramp

primary
#4E4470
secondary
#939C74
accent
#C167AC
background
#F7F7F9
surface
#EEEDF2
border
#C9C8CC
text
#0A080E
muted
#7C7B7E

Preview Lab

Preview with #4E4470

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

Preview Lab → · Contrast checker → · Palette generator →

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