#4E4765#4E4765

#4E4765 is a dark, muted violet. Relative luminance 0.071; OKLCH L 41.7% C 0.050 H 294.8°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#4E4765
RGBrgb(78, 71, 101)
HSLhsl(254, 17%, 34%)
HSVhsv(254, 30%, 40%)
CMYKcmyk(22.8%, 29.7%, 0%, 60.4%)
CIE-LABlab(31.96, 10.05, -16.46)
CIE-LCHlch(31.96, 19.29, 301.40°)
OKLaboklab(41.73% 0.021 -0.0453)
OKLCHoklch(41.73% 0.05 294.8)
XYZxyz(7.7436, 7.0657, 13.2652)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4765 #5E6547
analogous
#474F65 #4E4765 #5D4765
triadic
#4E4765 #654E47 #47654E
tetradic
#4E4765 #65474F #5E6547 #47655D
square
#4E4765 #65474F #5E6547 #47655D
split-complementary
#4E4765 #655D47 #4F6547
monochromatic
#16141D #322E41 #4E4765 #6A6089 #8980A6

Accessibility & contrast

On white

8.70
#4E4765 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#4E4765 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4765
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4765#FFFFFF#000000##FFFFFF
##4E47651.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404B66
Deuteranopia (green-blind)
#414B64
Tritanopia (blue-blind)
#4A4C52
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4e4765;
/* rgb */ color: rgb(78, 71, 101);
/* oklch */ color: oklch(41.7% 0.050 294.8);
Tailwind
colors: {
  custom: {
    50: '#807a91',
    500: '#4e4765',
    950: '#000000',
  },
}
SCSS
$custom: #4e4765;
$custom-light: #807a91;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4765",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 101
  },
  "hsl": {
    "h": 254,
    "s": 17.442,
    "l": 33.725
  },
  "oklch": {
    "l": 0.41728,
    "c": 0.04996,
    "h": 294.8
  },
  "luminance": 0.07066
}

Semantic roles & 50–950 ramp

primary
#4E4765
secondary
#8C9375
accent
#BA6EA8
background
#F7F7F8
surface
#EEEDF0
border
#C9C8CB
text
#0A090C
muted
#7C7B7D

Preview Lab

Preview with #4E4765

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

Preview Lab → · Contrast checker → · Palette generator →

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