#4E4579#4E4579

#4E4579 is a dark, moderate violet. Relative luminance 0.073; OKLCH L 42.4% C 0.085 H 290.2°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#4E4579
RGBrgb(78, 69, 121)
HSLhsl(250, 27%, 37%)
HSVhsv(250, 43%, 47%)
CMYKcmyk(35.5%, 43%, 0%, 52.5%)
CIE-LABlab(32.38, 16.96, -28.39)
CIE-LCHlch(32.38, 33.08, 300.85°)
OKLaboklab(42.38% 0.0294 -0.0797)
OKLCHoklch(42.38% 0.085 290.2)
XYZxyz(8.7203, 7.2562, 19.0266)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4579 #707945
analogous
#455679 #4E4579 #684579
triadic
#4E4579 #794E45 #45794E
tetradic
#4E4579 #794556 #707945 #457968
square
#4E4579 #794556 #707945 #457968
split-complementary
#4E4579 #796845 #567945
monochromatic
#1C192B #352F52 #4E4579 #675BA0 #8B81B7

Accessibility & contrast

On white

8.57
#4E4579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#4E4579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4579
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4579#FFFFFF#000000##FFFFFF
##4E45791.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354D7B
Deuteranopia (green-blind)
#354B78
Tritanopia (blue-blind)
#434F59
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4e4579;
/* rgb */ color: rgb(78, 69, 121);
/* oklch */ color: oklch(42.4% 0.085 290.2);
Tailwind
colors: {
  custom: {
    50: '#8178a0',
    500: '#4e4579',
    950: '#000000',
  },
}
SCSS
$custom: #4e4579;
$custom-light: #8178a0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4579",
  "rgb": {
    "r": 78,
    "g": 69,
    "b": 121
  },
  "hsl": {
    "h": 250.385,
    "s": 27.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.42379,
    "c": 0.08493,
    "h": 290.2
  },
  "luminance": 0.07256
}

Semantic roles & 50–950 ramp

primary
#4E4579
secondary
#9BA377
accent
#C464B3
background
#F8F7F9
surface
#EFEDF2
border
#CAC8CC
text
#0A090E
muted
#7C7B7E

Preview Lab

Preview with #4E4579

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

Preview Lab → · Contrast checker → · Palette generator →

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