#4E4066#4E4066

#4E4066 is a dark, moderate violet. Relative luminance 0.062; OKLCH L 40.3% C 0.065 H 300.5°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#4E4066
RGBrgb(78, 64, 102)
HSLhsl(262, 23%, 33%)
HSVhsv(262, 37%, 40%)
CMYKcmyk(23.5%, 37.3%, 0%, 60%)
CIE-LABlab(30.02, 14.86, -20.09)
CIE-LCHlch(30.02, 24.99, 306.49°)
OKLaboklab(40.26% 0.0328 -0.0557)
OKLCHoklch(40.26% 0.065 300.5)
XYZxyz(7.3730, 6.2458, 13.3849)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4066 #586640
analogous
#404566 #4E4066 #614066
triadic
#4E4066 #664E40 #40664E
tetradic
#4E4066 #664045 #586640 #406661
square
#4E4066 #664045 #586640 #406661
split-complementary
#4E4066 #666140 #456640
monochromatic
#14111B #312840 #4E4066 #6B588C #8A77AA

Accessibility & contrast

On white

9.34
#4E4066 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#4E4066 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4066
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4066#FFFFFF#000000##FFFFFF
##4E40661.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374767
Deuteranopia (green-blind)
#3A4665
Tritanopia (blue-blind)
#4A464E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4e4066;
/* rgb */ color: rgb(78, 64, 102);
/* oklch */ color: oklch(40.3% 0.065 300.5);
Tailwind
colors: {
  custom: {
    50: '#807592',
    500: '#4e4066',
    950: '#000000',
  },
}
SCSS
$custom: #4e4066;
$custom-light: #807592;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4066",
  "rgb": {
    "r": 78,
    "g": 64,
    "b": 102
  },
  "hsl": {
    "h": 262.105,
    "s": 22.892,
    "l": 32.549
  },
  "oklch": {
    "l": 0.40262,
    "c": 0.06459,
    "h": 300.5
  },
  "luminance": 0.06246
}

Semantic roles & 50–950 ramp

primary
#4E4066
secondary
#86956D
accent
#BF689F
background
#F7F7F8
surface
#EEEDF0
border
#C9C8CB
text
#0A080D
muted
#7C7B7D

Preview Lab

Preview with #4E4066

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

Preview Lab → · Contrast checker → · Palette generator →

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