#4E4574#4E4574

#4E4574 is a dark, moderate violet. Relative luminance 0.071; OKLCH L 42.1% C 0.077 H 291.5°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#4E4574
RGBrgb(78, 69, 116)
HSLhsl(251, 25%, 36%)
HSVhsv(251, 41%, 45%)
CMYKcmyk(32.8%, 40.5%, 0%, 54.5%)
CIE-LABlab(32.12, 15.51, -25.68)
CIE-LCHlch(32.12, 30.00, 301.13°)
OKLaboklab(42.09% 0.0283 -0.0718)
OKLCHoklch(42.09% 0.077 291.5)
XYZxyz(8.4216, 7.1367, 17.4534)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4574 #6B7445
analogous
#455474 #4E4574 #664574
triadic
#4E4574 #744E45 #45744E
tetradic
#4E4574 #744554 #6B7445 #457466
square
#4E4574 #744554 #6B7445 #457466
split-complementary
#4E4574 #746645 #547445
monochromatic
#1A1727 #342E4E #4E4574 #685C9A #8A80B3

Accessibility & contrast

On white

8.65
#4E4574 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#4E4574 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4574
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4574#FFFFFF#000000##FFFFFF
##4E45741.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374C76
Deuteranopia (green-blind)
#384B73
Tritanopia (blue-blind)
#454E57
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4e4574;
/* rgb */ color: rgb(78, 69, 116);
/* oklch */ color: oklch(42.1% 0.077 291.5);
Tailwind
colors: {
  custom: {
    50: '#81789c',
    500: '#4e4574',
    950: '#000000',
  },
}
SCSS
$custom: #4e4574;
$custom-light: #81789c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4574",
  "rgb": {
    "r": 78,
    "g": 69,
    "b": 116
  },
  "hsl": {
    "h": 251.489,
    "s": 25.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42089,
    "c": 0.0772,
    "h": 291.5
  },
  "luminance": 0.07137
}

Semantic roles & 50–950 ramp

primary
#4E4574
secondary
#979F76
accent
#C266B0
background
#F7F7F9
surface
#EEEDF2
border
#C9C8CC
text
#0A090E
muted
#7C7B7E

Preview Lab

Preview with #4E4574

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

Preview Lab → · Contrast checker → · Palette generator →

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