#4E4062#4E4062

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

Color values

HEX#4E4062
RGBrgb(78, 64, 98)
HSLhsl(265, 21%, 32%)
HSVhsv(265, 35%, 38%)
CMYKcmyk(20.4%, 34.7%, 0%, 61.6%)
CIE-LABlab(29.83, 13.80, -17.83)
CIE-LCHlch(29.83, 22.55, 307.74°)
OKLaboklab(40.05% 0.0316 -0.0492)
OKLCHoklch(40.05% 0.058 302.7)
XYZxyz(7.1794, 6.1683, 12.3653)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4062 #546240
analogous
#404362 #4E4062 #5F4062
triadic
#4E4062 #624E40 #40624E
tetradic
#4E4062 #624043 #546240 #40625F
square
#4E4062 #624043 #546240 #40625F
split-complementary
#4E4062 #625F40 #436240
monochromatic
#131018 #31283D #4E4062 #6B5887 #8A77A6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E4062#FFFFFF#000000##FFFFFF
##4E40621.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)
#394663
Deuteranopia (green-blind)
#3B4661
Tritanopia (blue-blind)
#4B454C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4e4062;
/* rgb */ color: rgb(78, 64, 98);
/* oklch */ color: oklch(40.1% 0.058 302.7);
Tailwind
colors: {
  custom: {
    50: '#80758e',
    500: '#4e4062',
    950: '#000000',
  },
}
SCSS
$custom: #4e4062;
$custom-light: #80758e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4062",
  "rgb": {
    "r": 78,
    "g": 64,
    "b": 98
  },
  "hsl": {
    "h": 264.706,
    "s": 20.988,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40053,
    "c": 0.05849,
    "h": 302.7
  },
  "luminance": 0.06168
}

Semantic roles & 50–950 ramp

primary
#4E4062
secondary
#82926C
accent
#BE6A9B
background
#F7F7F8
surface
#EEEDF0
border
#C9C8CB
text
#0A080C
muted
#7C7B7D

Preview Lab

Preview with #4E4062

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

Preview Lab → · Contrast checker → · Palette generator →

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