#4E4166#4E4166

#4E4166 is a dark, moderate violet. Relative luminance 0.064; OKLCH L 40.5% C 0.063 H 299.8°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#4E4166
RGBrgb(78, 65, 102)
HSLhsl(261, 22%, 33%)
HSVhsv(261, 36%, 40%)
CMYKcmyk(23.5%, 36.3%, 0%, 60%)
CIE-LABlab(30.30, 14.21, -19.66)
CIE-LCHlch(30.30, 24.26, 305.86°)
OKLaboklab(40.47% 0.0311 -0.0544)
OKLCHoklch(40.47% 0.063 299.8)
XYZxyz(7.4299, 6.3596, 13.4039)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4166 #596641
analogous
#414666 #4E4166 #604166
triadic
#4E4166 #664E41 #41664E
tetradic
#4E4166 #664146 #596641 #416660
square
#4E4166 #664146 #596641 #416660
split-complementary
#4E4166 #666041 #466641
monochromatic
#15111B #312941 #4E4166 #6B598B #8978A9

Accessibility & contrast

On white

9.24
#4E4166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#4E4166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4166
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4166#FFFFFF#000000##FFFFFF
##4E41661.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384767
Deuteranopia (green-blind)
#3B4765
Tritanopia (blue-blind)
#4A474F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4e4166;
/* rgb */ color: rgb(78, 65, 102);
/* oklch */ color: oklch(40.5% 0.063 299.8);
Tailwind
colors: {
  custom: {
    50: '#807591',
    500: '#4e4166',
    950: '#000000',
  },
}
SCSS
$custom: #4e4166;
$custom-light: #807591;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4166",
  "rgb": {
    "r": 78,
    "g": 65,
    "b": 102
  },
  "hsl": {
    "h": 261.081,
    "s": 22.156,
    "l": 32.745
  },
  "oklch": {
    "l": 0.40474,
    "c": 0.0627,
    "h": 299.8
  },
  "luminance": 0.0636
}

Semantic roles & 50–950 ramp

primary
#4E4166
secondary
#87956E
accent
#BF69A1
background
#F7F7F8
surface
#EEEDF0
border
#C9C8CB
text
#0A080D
muted
#7C7B7D

Preview Lab

Preview with #4E4166

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

Preview Lab → · Contrast checker → · Palette generator →

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