#4E4672#4E4672

#4E4672 is a dark, moderate violet. Relative luminance 0.072; OKLCH L 42.2% C 0.072 H 291.3°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#4E4672
RGBrgb(78, 70, 114)
HSLhsl(251, 24%, 36%)
HSVhsv(251, 39%, 45%)
CMYKcmyk(31.6%, 38.6%, 0%, 55.3%)
CIE-LABlab(32.29, 14.29, -24.15)
CIE-LCHlch(32.29, 28.06, 300.60°)
OKLaboklab(42.19% 0.0263 -0.0674)
OKLCHoklch(42.19% 0.072 291.3)
XYZxyz(8.3685, 7.2148, 16.8680)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4672 #6A7246
analogous
#465472 #4E4672 #644672
triadic
#4E4672 #724E46 #46724E
tetradic
#4E4672 #724654 #6A7246 #467264
square
#4E4672 #724654 #6A7246 #467264
split-complementary
#4E4672 #726446 #547246
monochromatic
#1A1726 #342F4C #4E4672 #685D98 #8A81B2

Accessibility & contrast

On white

8.60
#4E4672 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E4672
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4672#FFFFFF#000000##FFFFFF
##4E46721.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394D74
Deuteranopia (green-blind)
#3A4B71
Tritanopia (blue-blind)
#464E56
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4e4672;
/* rgb */ color: rgb(78, 70, 114);
/* oklch */ color: oklch(42.2% 0.072 291.3);
Tailwind
colors: {
  custom: {
    50: '#81799a',
    500: '#4e4672',
    950: '#000000',
  },
}
SCSS
$custom: #4e4672;
$custom-light: #81799a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4672",
  "rgb": {
    "r": 78,
    "g": 70,
    "b": 114
  },
  "hsl": {
    "h": 250.909,
    "s": 23.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.42188,
    "c": 0.07234,
    "h": 291.3
  },
  "luminance": 0.07215
}

Semantic roles & 50–950 ramp

primary
#4E4672
secondary
#969E76
accent
#C067B0
background
#F7F7F9
surface
#EEEDF2
border
#C9C8CC
text
#0A090E
muted
#7C7B7E

Preview Lab

Preview with #4E4672

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

Preview Lab → · Contrast checker → · Palette generator →

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