#4E416B#4E416B

#4E416B is a dark, moderate violet. Relative luminance 0.065; OKLCH L 40.7% C 0.070 H 297.4°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#4E416B
RGBrgb(78, 65, 107)
HSLhsl(259, 24%, 34%)
HSVhsv(259, 39%, 42%)
CMYKcmyk(27.1%, 39.3%, 0%, 58%)
CIE-LABlab(30.55, 15.57, -22.46)
CIE-LCHlch(30.55, 27.33, 304.73°)
OKLaboklab(40.74% 0.0324 -0.0625)
OKLCHoklch(40.74% 0.07 297.4)
XYZxyz(7.6854, 6.4618, 14.7494)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E416B #5E6B41
analogous
#41496B #4E416B #63416B
triadic
#4E416B #6B4E41 #416B4E
tetradic
#4E416B #6B4149 #5E6B41 #416B63
square
#4E416B #6B4149 #5E6B41 #416B63
split-complementary
#4E416B #6B6341 #496B41
monochromatic
#16131F #322A45 #4E416B #6A5891 #8979AE

Accessibility & contrast

On white

9.16
#4E416B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#4E416B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E416B
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E416B#FFFFFF#000000##FFFFFF
##4E416B1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36486D
Deuteranopia (green-blind)
#38476A
Tritanopia (blue-blind)
#484851
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4e416b;
/* rgb */ color: rgb(78, 65, 107);
/* oklch */ color: oklch(40.7% 0.070 297.4);
Tailwind
colors: {
  custom: {
    50: '#807595',
    500: '#4e416b',
    950: '#000000',
  },
}
SCSS
$custom: #4e416b;
$custom-light: #807595;
$custom-dark: #000000;
JSON
{
  "hex": "#4e416b",
  "rgb": {
    "r": 78,
    "g": 65,
    "b": 107
  },
  "hsl": {
    "h": 258.571,
    "s": 24.419,
    "l": 33.725
  },
  "oklch": {
    "l": 0.40743,
    "c": 0.07039,
    "h": 297.4
  },
  "luminance": 0.06462
}

Semantic roles & 50–950 ramp

primary
#4E416B
secondary
#8C996F
accent
#C167A5
background
#F7F7F9
surface
#EEEDF1
border
#C9C8CB
text
#0A080D
muted
#7C7B7E

Preview Lab

Preview with #4E416B

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

Preview Lab → · Contrast checker → · Palette generator →

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