#4E4077#4E4077

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

Color values

HEX#4E4077
RGBrgb(78, 64, 119)
HSLhsl(255, 30%, 36%)
HSVhsv(255, 46%, 47%)
CMYKcmyk(34.5%, 46.2%, 0%, 53.3%)
CIE-LABlab(30.92, 19.62, -29.45)
CIE-LCHlch(30.92, 35.39, 303.67°)
OKLaboklab(41.24% 0.0365 -0.0828)
OKLCHoklch(41.24% 0.09 293.8)
XYZxyz(8.3042, 6.6183, 18.2891)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4077 #697740
analogous
#404D77 #4E4077 #694077
triadic
#4E4077 #774E40 #40774E
tetradic
#4E4077 #77404D #697740 #407769
square
#4E4077 #77404D #697740 #407769
split-complementary
#4E4077 #776940 #4D7740
monochromatic
#1A1527 #342B4F #4E4077 #68559F #8A7AB7

Accessibility & contrast

On white

9.04
#4E4077 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E4077
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4077#FFFFFF#000000##FFFFFF
##4E40771.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e4077;
/* rgb */ color: rgb(78, 64, 119);
/* oklch */ color: oklch(41.2% 0.090 293.8);
Tailwind
colors: {
  custom: {
    50: '#81759e',
    500: '#4e4077',
    950: '#000000',
  },
}
SCSS
$custom: #4e4077;
$custom-light: #81759e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4077",
  "rgb": {
    "r": 78,
    "g": 64,
    "b": 119
  },
  "hsl": {
    "h": 255.273,
    "s": 30.055,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41236,
    "c": 0.09044,
    "h": 293.8
  },
  "luminance": 0.06618
}

Semantic roles & 50–950 ramp

primary
#4E4077
secondary
#96A271
accent
#C662AD
background
#F8F7F9
surface
#EFEDF2
border
#CAC8CC
text
#0A080E
muted
#7C7B7E

Preview Lab

Preview with #4E4077

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

Preview Lab → · Contrast checker → · Palette generator →

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