#4E4259#4E4259

#4E4259 is a dark, muted violet. Relative luminance 0.062; OKLCH L 40.1% C 0.041 H 308.3°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#4E4259
RGBrgb(78, 66, 89)
HSLhsl(271, 15%, 30%)
HSVhsv(271, 26%, 35%)
CMYKcmyk(12.4%, 25.8%, 0%, 65.1%)
CIE-LABlab(30.00, 10.22, -11.78)
CIE-LCHlch(30.00, 15.60, 310.93°)
OKLaboklab(40.05% 0.0253 -0.0321)
OKLCHoklch(40.05% 0.041 308.3)
XYZxyz(6.8929, 6.2374, 10.2901)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4259 #4D5942
analogous
#424259 #4E4259 #594258
triadic
#4E4259 #594E42 #42594E
tetradic
#4E4259 #594242 #4D5942 #425859
square
#4E4259 #594242 #4D5942 #425859
split-complementary
#4E4259 #585942 #425942
monochromatic
#100E13 #2F2836 #4E4259 #6D5C7C #8B799C

Accessibility & contrast

On white

9.34
#4E4259 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#4E4259 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4259
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4259#FFFFFF#000000##FFFFFF
##4E42591.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E465A
Deuteranopia (green-blind)
#414758
Tritanopia (blue-blind)
#4D454A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4e4259;
/* rgb */ color: rgb(78, 66, 89);
/* oklch */ color: oklch(40.1% 0.041 308.3);
Tailwind
colors: {
  custom: {
    50: '#7f7688',
    500: '#4e4259',
    950: '#000000',
  },
}
SCSS
$custom: #4e4259;
$custom-light: #7f7688;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4259",
  "rgb": {
    "r": 78,
    "g": 66,
    "b": 89
  },
  "hsl": {
    "h": 271.304,
    "s": 14.839,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40053,
    "c": 0.04086,
    "h": 308.3
  },
  "luminance": 0.06237
}

Semantic roles & 50–950 ramp

primary
#4E4259
secondary
#7B886F
accent
#B87092
background
#F7F7F8
surface
#EEEDEF
border
#C9C8CA
text
#0A080B
muted
#7C7B7C

Preview Lab

Preview with #4E4259

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

Preview Lab → · Contrast checker → · Palette generator →

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