#4E485F#4E485F

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

Color values

HEX#4E485F
RGBrgb(78, 72, 95)
HSLhsl(256, 14%, 33%)
HSVhsv(256, 24%, 37%)
CMYKcmyk(17.9%, 24.2%, 0%, 62.7%)
CIE-LABlab(31.99, 7.84, -12.60)
CIE-LCHlch(31.99, 14.84, 301.89°)
OKLaboklab(41.67% 0.0173 -0.0344)
OKLCHoklch(41.67% 0.039 296.7)
XYZxyz(7.5244, 7.0806, 11.7945)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E485F #595F48
analogous
#484E5F #4E485F #59485F
triadic
#4E485F #5F4E48 #485F4E
tetradic
#4E485F #5F484E #595F48 #485F59
square
#4E485F #5F484E #595F48 #485F59
split-complementary
#4E485F #5F5948 #4E5F48
monochromatic
#151319 #312E3C #4E485F #6B6282 #8982A0

Accessibility & contrast

On white

8.69
#4E485F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#4E485F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E485F
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E485F#FFFFFF#000000##FFFFFF
##4E485F1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434B60
Deuteranopia (green-blind)
#444B5E
Tritanopia (blue-blind)
#4B4B50
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4e485f;
/* rgb */ color: rgb(78, 72, 95);
/* oklch */ color: oklch(41.7% 0.038 296.7);
Tailwind
colors: {
  custom: {
    50: '#7f7b8c',
    500: '#4e485f',
    950: '#000000',
  },
}
SCSS
$custom: #4e485f;
$custom-light: #7f7b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e485f",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 95
  },
  "hsl": {
    "h": 255.652,
    "s": 13.772,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41669,
    "c": 0.0385,
    "h": 296.7
  },
  "luminance": 0.07081
}

Semantic roles & 50–950 ramp

primary
#4E485F
secondary
#878E75
accent
#B771A4
background
#F7F7F8
surface
#EEEDF0
border
#C9C8CB
text
#0A090C
muted
#7C7B7D

Preview Lab

Preview with #4E485F

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

Preview Lab → · Contrast checker → · Palette generator →

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