#4E4071#4E4071

#4E4071 is a dark, moderate violet. Relative luminance 0.065; OKLCH L 40.9% C 0.081 H 295.7°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#4E4071
RGBrgb(78, 64, 113)
HSLhsl(257, 28%, 35%)
HSVhsv(257, 43%, 44%)
CMYKcmyk(31%, 43.4%, 0%, 55.7%)
CIE-LABlab(30.59, 17.90, -26.20)
CIE-LCHlch(30.59, 31.73, 304.34°)
OKLaboklab(40.88% 0.0354 -0.0733)
OKLCHoklch(40.88% 0.081 295.7)
XYZxyz(7.9552, 6.4786, 16.4510)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4071 #637140
analogous
#404A71 #4E4071 #674071
triadic
#4E4071 #714E40 #40714E
tetradic
#4E4071 #71404A #637140 #407167
square
#4E4071 #71404A #637140 #407167
split-complementary
#4E4071 #716740 #4A7140
monochromatic
#181423 #332A4A #4E4071 #695698 #8979B3

Accessibility & contrast

On white

9.15
#4E4071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#4E4071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4071
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4071#FFFFFF#000000##FFFFFF
##4E40711.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324873
Deuteranopia (green-blind)
#344770
Tritanopia (blue-blind)
#474953
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4e4071;
/* rgb */ color: rgb(78, 64, 113);
/* oklch */ color: oklch(40.9% 0.081 295.7);
Tailwind
colors: {
  custom: {
    50: '#81759a',
    500: '#4e4071',
    950: '#000000',
  },
}
SCSS
$custom: #4e4071;
$custom-light: #81759a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4071",
  "rgb": {
    "r": 78,
    "g": 64,
    "b": 113
  },
  "hsl": {
    "h": 257.143,
    "s": 27.684,
    "l": 34.706
  },
  "oklch": {
    "l": 0.40877,
    "c": 0.08138,
    "h": 295.7
  },
  "luminance": 0.06479
}

Semantic roles & 50–950 ramp

primary
#4E4071
secondary
#909E6F
accent
#C464A9
background
#F7F7F9
surface
#EEEDF2
border
#C9C8CC
text
#0A080E
muted
#7C7B7E

Preview Lab

Preview with #4E4071

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

Preview Lab → · Contrast checker → · Palette generator →

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