#4E4262#4E4262

#4E4262 is a dark, muted violet. Relative luminance 0.064; OKLCH L 40.5% C 0.055 H 301.2°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#4E4262
RGBrgb(78, 66, 98)
HSLhsl(263, 20%, 32%)
HSVhsv(263, 33%, 38%)
CMYKcmyk(20.4%, 32.7%, 0%, 61.6%)
CIE-LABlab(30.40, 12.50, -16.96)
CIE-LCHlch(30.40, 21.07, 306.39°)
OKLaboklab(40.48% 0.0283 -0.0467)
OKLCHoklch(40.48% 0.055 301.2)
XYZxyz(7.2942, 6.3980, 12.4036)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4262 #566242
analogous
#424662 #4E4262 #5E4262
triadic
#4E4262 #624E42 #42624E
tetradic
#4E4262 #624246 #566242 #42625E
square
#4E4262 #624246 #566242 #42625E
split-complementary
#4E4262 #625E42 #466242
monochromatic
#141119 #31293D #4E4262 #6B5B87 #8A79A5

Accessibility & contrast

On white

9.21
#4E4262 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#4E4262 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4262
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4262#FFFFFF#000000##FFFFFF
##4E42621.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4763
Deuteranopia (green-blind)
#3D4761
Tritanopia (blue-blind)
#4B474D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4e4262;
/* rgb */ color: rgb(78, 66, 98);
/* oklch */ color: oklch(40.5% 0.055 301.2);
Tailwind
colors: {
  custom: {
    50: '#80768e',
    500: '#4e4262',
    950: '#000000',
  },
}
SCSS
$custom: #4e4262;
$custom-light: #80768e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4262",
  "rgb": {
    "r": 78,
    "g": 66,
    "b": 98
  },
  "hsl": {
    "h": 262.5,
    "s": 19.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40483,
    "c": 0.05462,
    "h": 301.2
  },
  "luminance": 0.06398
}

Semantic roles & 50–950 ramp

primary
#4E4262
secondary
#84916F
accent
#BC6C9E
background
#F7F7F8
surface
#EEEDF0
border
#C9C8CB
text
#0A080C
muted
#7C7B7D

Preview Lab

Preview with #4E4262

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

Preview Lab → · Contrast checker → · Palette generator →

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