#4E4255#4E4255

#4E4255 is a dark, muted violet. Relative luminance 0.062; OKLCH L 39.9% C 0.035 H 313.0°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#4E4255
RGBrgb(78, 66, 85)
HSLhsl(278, 13%, 30%)
HSVhsv(278, 22%, 33%)
CMYKcmyk(8.2%, 22.4%, 0%, 66.7%)
CIE-LABlab(29.84, 9.25, -9.45)
CIE-LCHlch(29.84, 13.22, 314.40°)
OKLaboklab(39.88% 0.0238 -0.0256)
OKLCHoklch(39.88% 0.035 313)
XYZxyz(6.7295, 6.1721, 9.4294)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4255 #495542
analogous
#454255 #4E4255 #554253
triadic
#4E4255 #554E42 #42554E
tetradic
#4E4255 #554542 #495542 #425355
square
#4E4255 #554542 #495542 #425355
split-complementary
#4E4255 #535542 #425545
monochromatic
#100D11 #2E2733 #4E4255 #6E5D77 #8D7A98

Accessibility & contrast

On white

9.40
#4E4255 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#4E4255 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4255
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4255#FFFFFF#000000##FFFFFF
##4E42551.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4656
Deuteranopia (green-blind)
#424754
Tritanopia (blue-blind)
#4E4448
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4e4255;
/* rgb */ color: rgb(78, 66, 85);
/* oklch */ color: oklch(39.9% 0.035 313.0);
Tailwind
colors: {
  custom: {
    50: '#7f7684',
    500: '#4e4255',
    950: '#000000',
  },
}
SCSS
$custom: #4e4255;
$custom-light: #7f7684;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4255",
  "rgb": {
    "r": 78,
    "g": 66,
    "b": 85
  },
  "hsl": {
    "h": 277.895,
    "s": 12.583,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39876,
    "c": 0.03495,
    "h": 313
  },
  "luminance": 0.06172
}

Semantic roles & 50–950 ramp

primary
#4E4255
secondary
#77846F
accent
#B5728B
background
#F7F7F8
surface
#EEEDEF
border
#C9C8CA
text
#0A080B
muted
#7C7B7C

Preview Lab

Preview with #4E4255

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

Preview Lab → · Contrast checker → · Palette generator →

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