#4E476F#4E476F

#4E476F is a dark, moderate violet. Relative luminance 0.073; OKLCH L 42.2% C 0.066 H 291.3°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#4E476F
RGBrgb(78, 71, 111)
HSLhsl(251, 22%, 36%)
HSVhsv(251, 36%, 44%)
CMYKcmyk(29.7%, 36%, 0%, 56.5%)
CIE-LABlab(32.42, 12.79, -22.06)
CIE-LCHlch(32.42, 25.50, 300.10°)
OKLaboklab(42.24% 0.024 -0.0614)
OKLCHoklch(42.24% 0.066 291.3)
XYZxyz(8.2637, 7.2737, 16.0044)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E476F #686F47
analogous
#47546F #4E476F #62476F
triadic
#4E476F #6F4E47 #476F4E
tetradic
#4E476F #6F4754 #686F47 #476F62
square
#4E476F #6F4754 #686F47 #476F62
split-complementary
#4E476F #6F6247 #546F47
monochromatic
#1A1724 #342F4A #4E476F #685F94 #8A82AF

Accessibility & contrast

On white

8.55
#4E476F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E476F
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E476F#FFFFFF#000000##FFFFFF
##4E476F1.008.552.458.55
#FFFFFF8.551.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4D71
Deuteranopia (green-blind)
#3D4B6E
Tritanopia (blue-blind)
#474E56
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4e476f;
/* rgb */ color: rgb(78, 71, 111);
/* oklch */ color: oklch(42.2% 0.066 291.3);
Tailwind
colors: {
  custom: {
    50: '#807a98',
    500: '#4e476f',
    950: '#000000',
  },
}
SCSS
$custom: #4e476f;
$custom-light: #807a98;
$custom-dark: #000000;
JSON
{
  "hex": "#4e476f",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 111
  },
  "hsl": {
    "h": 250.5,
    "s": 21.978,
    "l": 35.686
  },
  "oklch": {
    "l": 0.42239,
    "c": 0.06588,
    "h": 291.3
  },
  "luminance": 0.07274
}

Semantic roles & 50–950 ramp

primary
#4E476F
secondary
#959B77
accent
#BF69B0
background
#F7F7F9
surface
#EEEDF2
border
#C9C8CC
text
#0A090D
muted
#7C7B7E

Preview Lab

Preview with #4E476F

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

Preview Lab → · Contrast checker → · Palette generator →

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