#4E486C#4E486C

#4E486C is a dark, muted violet. Relative luminance 0.073; OKLCH L 42.3% C 0.059 H 291.3°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#4E486C
RGBrgb(78, 72, 108)
HSLhsl(250, 20%, 35%)
HSVhsv(250, 33%, 42%)
CMYKcmyk(27.8%, 33.3%, 0%, 57.6%)
CIE-LABlab(32.56, 11.30, -19.96)
CIE-LCHlch(32.56, 22.93, 299.53°)
OKLaboklab(42.3% 0.0216 -0.0553)
OKLCHoklch(42.3% 0.059 291.3)
XYZxyz(8.1654, 7.3370, 15.1704)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E486C #666C48
analogous
#48546C #4E486C #60486C
triadic
#4E486C #6C4E48 #486C4E
tetradic
#4E486C #6C4854 #666C48 #486C60
square
#4E486C #6C4854 #666C48 #486C60
split-complementary
#4E486C #6C6048 #546C48
monochromatic
#191723 #333047 #4E486C #696091 #8982AC

Accessibility & contrast

On white

8.51
#4E486C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#4E486C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E486C
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E486C#FFFFFF#000000##FFFFFF
##4E486C1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4D6D
Deuteranopia (green-blind)
#3F4C6B
Tritanopia (blue-blind)
#474E55
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e486c;
/* rgb */ color: rgb(78, 72, 108);
/* oklch */ color: oklch(42.3% 0.059 291.3);
Tailwind
colors: {
  custom: {
    50: '#807b96',
    500: '#4e486c',
    950: '#000000',
  },
}
SCSS
$custom: #4e486c;
$custom-light: #807b96;
$custom-dark: #000000;
JSON
{
  "hex": "#4e486c",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 108
  },
  "hsl": {
    "h": 250,
    "s": 20,
    "l": 35.294
  },
  "oklch": {
    "l": 0.42299,
    "c": 0.05936,
    "h": 291.3
  },
  "luminance": 0.07337
}

Semantic roles & 50–950 ramp

primary
#4E486C
secondary
#939977
accent
#BD6BAF
background
#F7F7F9
surface
#EEEDF2
border
#C9C8CC
text
#0A090D
muted
#7C7B7E

Preview Lab

Preview with #4E486C

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

Preview Lab → · Contrast checker → · Palette generator →

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