#4E4076#4E4076

#4E4076 is a dark, moderate violet. Relative luminance 0.066; OKLCH L 41.2% C 0.089 H 294.1°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#4E4076
RGBrgb(78, 64, 118)
HSLhsl(256, 30%, 36%)
HSVhsv(256, 46%, 46%)
CMYKcmyk(33.9%, 45.8%, 0%, 53.7%)
CIE-LABlab(30.87, 19.33, -28.91)
CIE-LCHlch(30.87, 34.78, 303.76°)
OKLaboklab(41.18% 0.0363 -0.0812)
OKLCHoklch(41.18% 0.089 294.1)
XYZxyz(8.2445, 6.5944, 17.9745)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4076 #687640
analogous
#404D76 #4E4076 #694076
triadic
#4E4076 #764E40 #40764E
tetradic
#4E4076 #76404D #687640 #407669
square
#4E4076 #76404D #687640 #407669
split-complementary
#4E4076 #766940 #4D7640
monochromatic
#1A1527 #342A4E #4E4076 #68569E #8A7AB7

Accessibility & contrast

On white

9.06
#4E4076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#4E4076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4076
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4076#FFFFFF#000000##FFFFFF
##4E40761.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4978
Deuteranopia (green-blind)
#314875
Tritanopia (blue-blind)
#454A55
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4e4076;
/* rgb */ color: rgb(78, 64, 118);
/* oklch */ color: oklch(41.2% 0.089 294.1);
Tailwind
colors: {
  custom: {
    50: '#81759e',
    500: '#4e4076',
    950: '#000000',
  },
}
SCSS
$custom: #4e4076;
$custom-light: #81759e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4076",
  "rgb": {
    "r": 78,
    "g": 64,
    "b": 118
  },
  "hsl": {
    "h": 255.556,
    "s": 29.67,
    "l": 35.686
  },
  "oklch": {
    "l": 0.41175,
    "c": 0.08894,
    "h": 294.1
  },
  "luminance": 0.06594
}

Semantic roles & 50–950 ramp

primary
#4E4076
secondary
#95A170
accent
#C662AC
background
#F8F7F9
surface
#EFEDF2
border
#CAC8CC
text
#0A080E
muted
#7C7B7E

Preview Lab

Preview with #4E4076

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

Preview Lab → · Contrast checker → · Palette generator →

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