#4E415B#4E415B

#4E415B is a dark, muted violet. Relative luminance 0.062; OKLCH L 39.9% C 0.046 H 307.2°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#4E415B
RGBrgb(78, 65, 91)
HSLhsl(270, 17%, 31%)
HSVhsv(270, 29%, 36%)
CMYKcmyk(14.3%, 28.6%, 0%, 64.3%)
CIE-LABlab(29.80, 11.36, -13.38)
CIE-LCHlch(29.80, 17.55, 310.34°)
OKLaboklab(39.93% 0.0277 -0.0366)
OKLCHoklch(39.93% 0.046 307.2)
XYZxyz(6.9202, 6.1557, 10.7191)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E415B #4E5B41
analogous
#41415B #4E415B #5B415B
triadic
#4E415B #5B4E41 #415B4E
tetradic
#4E415B #5B4141 #4E5B41 #415B5B
square
#4E415B #5B4141 #4E5B41 #415B5B
split-complementary
#4E415B #5B5B41 #415B41
monochromatic
#110E14 #2F2737 #4E415B #6D5A7F #8B789E

Accessibility & contrast

On white

9.41
#4E415B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E415B
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E415B#FFFFFF#000000##FFFFFF
##4E415B1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C465C
Deuteranopia (green-blind)
#3F465A
Tritanopia (blue-blind)
#4C454A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4e415b;
/* rgb */ color: rgb(78, 65, 91);
/* oklch */ color: oklch(39.9% 0.046 307.2);
Tailwind
colors: {
  custom: {
    50: '#807589',
    500: '#4e415b',
    950: '#000000',
  },
}
SCSS
$custom: #4e415b;
$custom-light: #807589;
$custom-dark: #000000;
JSON
{
  "hex": "#4e415b",
  "rgb": {
    "r": 78,
    "g": 65,
    "b": 91
  },
  "hsl": {
    "h": 270,
    "s": 16.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39926,
    "c": 0.04589,
    "h": 307.2
  },
  "luminance": 0.06156
}

Semantic roles & 50–950 ramp

primary
#4E415B
secondary
#7C8A6D
accent
#B96E94
background
#F7F7F8
surface
#EEEDF0
border
#C9C8CB
text
#0A080B
muted
#7C7B7C

Preview Lab

Preview with #4E415B

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

Preview Lab → · Contrast checker → · Palette generator →

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