#4E4060#4E4060

#4E4060 is a dark, muted violet. Relative luminance 0.061; OKLCH L 40.0% C 0.055 H 304.1°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#4E4060
RGBrgb(78, 64, 96)
HSLhsl(266, 20%, 31%)
HSVhsv(266, 33%, 38%)
CMYKcmyk(18.7%, 33.3%, 0%, 62.4%)
CIE-LABlab(29.74, 13.28, -16.69)
CIE-LCHlch(29.74, 21.33, 308.51°)
OKLaboklab(39.95% 0.031 -0.0459)
OKLCHoklch(39.95% 0.055 304.1)
XYZxyz(7.0862, 6.1310, 11.8742)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4060 #526040
analogous
#404260 #4E4060 #5E4060
triadic
#4E4060 #604E40 #40604E
tetradic
#4E4060 #604042 #526040 #40605E
square
#4E4060 #604042 #526040 #40605E
split-complementary
#4E4060 #605E40 #426040
monochromatic
#120F17 #30283B #4E4060 #6C5885 #8A76A4

Accessibility & contrast

On white

9.43
#4E4060 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E4060
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4060#FFFFFF#000000##FFFFFF
##4E40601.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394661
Deuteranopia (green-blind)
#3C465F
Tritanopia (blue-blind)
#4B454C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4e4060;
/* rgb */ color: rgb(78, 64, 96);
/* oklch */ color: oklch(40.0% 0.055 304.1);
Tailwind
colors: {
  custom: {
    50: '#80758d',
    500: '#4e4060',
    950: '#000000',
  },
}
SCSS
$custom: #4e4060;
$custom-light: #80758d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4060",
  "rgb": {
    "r": 78,
    "g": 64,
    "b": 96
  },
  "hsl": {
    "h": 266.25,
    "s": 20,
    "l": 31.373
  },
  "oklch": {
    "l": 0.39952,
    "c": 0.05544,
    "h": 304.1
  },
  "luminance": 0.06131
}

Semantic roles & 50–950 ramp

primary
#4E4060
secondary
#80906C
accent
#BD6B99
background
#F7F7F8
surface
#EEEDF0
border
#C9C8CB
text
#0A080C
muted
#7C7B7D

Preview Lab

Preview with #4E4060

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

Preview Lab → · Contrast checker → · Palette generator →

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