#4E4472#4E4472

#4E4472 is a dark, moderate violet. Relative luminance 0.070; OKLCH L 41.8% C 0.076 H 292.8°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#4E4472
RGBrgb(78, 68, 114)
HSLhsl(253, 25%, 36%)
HSVhsv(253, 40%, 45%)
CMYKcmyk(31.6%, 40.4%, 0%, 55.3%)
CIE-LABlab(31.74, 15.58, -25.03)
CIE-LCHlch(31.74, 29.48, 301.91°)
OKLaboklab(41.77% 0.0294 -0.0699)
OKLCHoklch(41.77% 0.076 292.8)
XYZxyz(8.2455, 6.9687, 16.8270)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4472 #687244
analogous
#445172 #4E4472 #654472
triadic
#4E4472 #724E44 #44724E
tetradic
#4E4472 #724451 #687244 #447265
square
#4E4472 #724451 #687244 #447265
split-complementary
#4E4472 #726544 #517244
monochromatic
#1A1625 #342D4C #4E4472 #685B98 #8A7EB2

Accessibility & contrast

On white

8.77
#4E4472 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#4E4472 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4472
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4472#FFFFFF#000000##FFFFFF
##4E44721.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374B74
Deuteranopia (green-blind)
#384A71
Tritanopia (blue-blind)
#464C55
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4e4472;
/* rgb */ color: rgb(78, 68, 114);
/* oklch */ color: oklch(41.8% 0.076 292.8);
Tailwind
colors: {
  custom: {
    50: '#81789b',
    500: '#4e4472',
    950: '#000000',
  },
}
SCSS
$custom: #4e4472;
$custom-light: #81789b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4472",
  "rgb": {
    "r": 78,
    "g": 68,
    "b": 114
  },
  "hsl": {
    "h": 253.043,
    "s": 25.275,
    "l": 35.686
  },
  "oklch": {
    "l": 0.41765,
    "c": 0.07584,
    "h": 292.8
  },
  "luminance": 0.06969
}

Semantic roles & 50–950 ramp

primary
#4E4472
secondary
#959E74
accent
#C266AE
background
#F7F7F9
surface
#EEEDF2
border
#C9C8CC
text
#0A080E
muted
#7C7B7E

Preview Lab

Preview with #4E4472

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

Preview Lab → · Contrast checker → · Palette generator →

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