#4E4258#4E4258

#4E4258 is a dark, muted violet. Relative luminance 0.062; OKLCH L 40.0% C 0.039 H 309.3°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#4E4258
RGBrgb(78, 66, 88)
HSLhsl(273, 14%, 30%)
HSVhsv(273, 25%, 35%)
CMYKcmyk(11.4%, 25%, 0%, 65.5%)
CIE-LABlab(29.96, 9.97, -11.20)
CIE-LCHlch(29.96, 15.00, 311.68°)
OKLaboklab(40.01% 0.025 -0.0304)
OKLCHoklch(40.01% 0.039 309.3)
XYZxyz(6.8512, 6.2208, 10.0704)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4258 #4C5842
analogous
#434258 #4E4258 #584257
triadic
#4E4258 #584E42 #42584E
tetradic
#4E4258 #584342 #4C5842 #425758
square
#4E4258 #584342 #4C5842 #425758
split-complementary
#4E4258 #575842 #425843
monochromatic
#100E12 #2F2835 #4E4258 #6D5C7B #8C7A9B

Accessibility & contrast

On white

9.36
#4E4258 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#4E4258 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4258
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4258#FFFFFF#000000##FFFFFF
##4E42581.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e4258;
/* rgb */ color: rgb(78, 66, 88);
/* oklch */ color: oklch(40.0% 0.039 309.3);
Tailwind
colors: {
  custom: {
    50: '#7f7687',
    500: '#4e4258',
    950: '#000000',
  },
}
SCSS
$custom: #4e4258;
$custom-light: #7f7687;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4258",
  "rgb": {
    "r": 78,
    "g": 66,
    "b": 88
  },
  "hsl": {
    "h": 272.727,
    "s": 14.286,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40008,
    "c": 0.03937,
    "h": 309.3
  },
  "luminance": 0.06221
}

Semantic roles & 50–950 ramp

primary
#4E4258
secondary
#7A876F
accent
#B77191
background
#F7F7F8
surface
#EEEDEF
border
#C9C8CA
text
#0A080B
muted
#7C7B7C

Preview Lab

Preview with #4E4258

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

Preview Lab → · Contrast checker → · Palette generator →

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