#4E476B#4E476B

#4E476B is a dark, muted violet. Relative luminance 0.072; OKLCH L 42.0% C 0.060 H 292.6°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#4E476B
RGBrgb(78, 71, 107)
HSLhsl(252, 20%, 35%)
HSVhsv(252, 34%, 42%)
CMYKcmyk(27.1%, 33.6%, 0%, 58%)
CIE-LABlab(32.23, 11.67, -19.84)
CIE-LCHlch(32.23, 23.02, 300.47°)
OKLaboklab(42.03% 0.0229 -0.055)
OKLCHoklch(42.03% 0.06 292.6)
XYZxyz(8.0483, 7.1876, 14.8704)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E476B #646B47
analogous
#47526B #4E476B #60476B
triadic
#4E476B #6B4E47 #476B4E
tetradic
#4E476B #6B4752 #646B47 #476B60
square
#4E476B #6B4752 #646B47 #476B60
split-complementary
#4E476B #6B6047 #526B47
monochromatic
#181621 #332F46 #4E476B #695F90 #8981AB

Accessibility & contrast

On white

8.62
#4E476B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#4E476B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E476B
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E476B#FFFFFF#000000##FFFFFF
##4E476B1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4C6C
Deuteranopia (green-blind)
#3E4B6A
Tritanopia (blue-blind)
#484D54
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4e476b;
/* rgb */ color: rgb(78, 71, 107);
/* oklch */ color: oklch(42.0% 0.060 292.6);
Tailwind
colors: {
  custom: {
    50: '#807a95',
    500: '#4e476b',
    950: '#000000',
  },
}
SCSS
$custom: #4e476b;
$custom-light: #807a95;
$custom-dark: #000000;
JSON
{
  "hex": "#4e476b",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 107
  },
  "hsl": {
    "h": 251.667,
    "s": 20.225,
    "l": 34.902
  },
  "oklch": {
    "l": 0.42029,
    "c": 0.05953,
    "h": 292.6
  },
  "luminance": 0.07188
}

Semantic roles & 50–950 ramp

primary
#4E476B
secondary
#919876
accent
#BD6BAD
background
#F7F7F9
surface
#EEEDF1
border
#C9C8CB
text
#0A090D
muted
#7C7B7E

Preview Lab

Preview with #4E476B

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

Preview Lab → · Contrast checker → · Palette generator →

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