#4E4572#4E4572

#4E4572 is a dark, moderate violet. Relative luminance 0.071; OKLCH L 42.0% C 0.074 H 292.1°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#4E4572
RGBrgb(78, 69, 114)
HSLhsl(252, 25%, 36%)
HSVhsv(252, 39%, 45%)
CMYKcmyk(31.6%, 39.5%, 0%, 55.3%)
CIE-LABlab(32.01, 14.94, -24.59)
CIE-LCHlch(32.01, 28.77, 301.27°)
OKLaboklab(41.98% 0.0279 -0.0686)
OKLCHoklch(41.98% 0.074 292.1)
XYZxyz(8.3065, 7.0907, 16.8473)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4572 #697245
analogous
#455272 #4E4572 #644572
triadic
#4E4572 #724E45 #45724E
tetradic
#4E4572 #724552 #697245 #457264
square
#4E4572 #724552 #697245 #457264
split-complementary
#4E4572 #726445 #527245
monochromatic
#1A1726 #342E4C #4E4572 #685C98 #8A80B2

Accessibility & contrast

On white

8.68
#4E4572 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#4E4572 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4572
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4572#FFFFFF#000000##FFFFFF
##4E45721.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384C74
Deuteranopia (green-blind)
#394A71
Tritanopia (blue-blind)
#464D56
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4e4572;
/* rgb */ color: rgb(78, 69, 114);
/* oklch */ color: oklch(42.0% 0.074 292.1);
Tailwind
colors: {
  custom: {
    50: '#81789b',
    500: '#4e4572',
    950: '#000000',
  },
}
SCSS
$custom: #4e4572;
$custom-light: #81789b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4572",
  "rgb": {
    "r": 78,
    "g": 69,
    "b": 114
  },
  "hsl": {
    "h": 252,
    "s": 24.59,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41976,
    "c": 0.07408,
    "h": 292.1
  },
  "luminance": 0.07091
}

Semantic roles & 50–950 ramp

primary
#4E4572
secondary
#969E75
accent
#C167AF
background
#F7F7F9
surface
#EEEDF2
border
#C9C8CC
text
#0A090E
muted
#7C7B7E

Preview Lab

Preview with #4E4572

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

Preview Lab → · Contrast checker → · Palette generator →

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