#4E4674#4E4674

#4E4674 is a dark, moderate violet. Relative luminance 0.073; OKLCH L 42.3% C 0.075 H 290.8°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#4E4674
RGBrgb(78, 70, 116)
HSLhsl(250, 25%, 36%)
HSVhsv(250, 40%, 45%)
CMYKcmyk(32.8%, 39.7%, 0%, 54.5%)
CIE-LABlab(32.39, 14.86, -25.25)
CIE-LCHlch(32.39, 29.30, 300.48°)
OKLaboklab(42.3% 0.0268 -0.0706)
OKLCHoklch(42.3% 0.075 290.8)
XYZxyz(8.4836, 7.2608, 17.4741)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4674 #6C7446
analogous
#465574 #4E4674 #654674
triadic
#4E4674 #744E46 #46744E
tetradic
#4E4674 #744655 #6C7446 #467465
square
#4E4674 #744655 #6C7446 #467465
split-complementary
#4E4674 #746546 #557446
monochromatic
#1B1828 #342F4E #4E4674 #685D9A #8A81B3

Accessibility & contrast

On white

8.56
#4E4674 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E4674
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4674#FFFFFF#000000##FFFFFF
##4E46741.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394D76
Deuteranopia (green-blind)
#394B73
Tritanopia (blue-blind)
#454E57
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4e4674;
/* rgb */ color: rgb(78, 70, 116);
/* oklch */ color: oklch(42.3% 0.075 290.8);
Tailwind
colors: {
  custom: {
    50: '#81799c',
    500: '#4e4674',
    950: '#000000',
  },
}
SCSS
$custom: #4e4674;
$custom-light: #81799c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4674",
  "rgb": {
    "r": 78,
    "g": 70,
    "b": 116
  },
  "hsl": {
    "h": 250.435,
    "s": 24.731,
    "l": 36.471
  },
  "oklch": {
    "l": 0.423,
    "c": 0.07547,
    "h": 290.8
  },
  "luminance": 0.07261
}

Semantic roles & 50–950 ramp

primary
#4E4674
secondary
#989F77
accent
#C167B1
background
#F7F7F9
surface
#EEEDF2
border
#C9C8CC
text
#0A090E
muted
#7C7B7E

Preview Lab

Preview with #4E4674

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

Preview Lab → · Contrast checker → · Palette generator →

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