#4E4079#4E4079

#4E4079 is a dark, moderate violet. Relative luminance 0.067; OKLCH L 41.4% C 0.093 H 293.2°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#4E4079
RGBrgb(78, 64, 121)
HSLhsl(255, 31%, 36%)
HSVhsv(255, 47%, 47%)
CMYKcmyk(35.5%, 47.1%, 0%, 52.5%)
CIE-LABlab(31.04, 20.20, -30.52)
CIE-LCHlch(31.04, 36.60, 303.49°)
OKLaboklab(41.36% 0.0368 -0.0859)
OKLCHoklch(41.36% 0.093 293.2)
XYZxyz(8.4256, 6.6668, 18.9284)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4079 #6B7940
analogous
#404F79 #4E4079 #6B4079
triadic
#4E4079 #794E40 #40794E
tetradic
#4E4079 #79404F #6B7940 #40796B
square
#4E4079 #79404F #6B7940 #40796B
split-complementary
#4E4079 #796B40 #4F7940
monochromatic
#1A1629 #342B51 #4E4079 #6855A1 #8A7AB9

Accessibility & contrast

On white

9.00
#4E4079 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#4E4079 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4079
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4079#FFFFFF#000000##FFFFFF
##4E40791.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4A7B
Deuteranopia (green-blind)
#2F4878
Tritanopia (blue-blind)
#444B56
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4e4079;
/* rgb */ color: rgb(78, 64, 121);
/* oklch */ color: oklch(41.4% 0.093 293.2);
Tailwind
colors: {
  custom: {
    50: '#8275a0',
    500: '#4e4079',
    950: '#000000',
  },
}
SCSS
$custom: #4e4079;
$custom-light: #8275a0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4079",
  "rgb": {
    "r": 78,
    "g": 64,
    "b": 121
  },
  "hsl": {
    "h": 254.737,
    "s": 30.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4136,
    "c": 0.09344,
    "h": 293.2
  },
  "luminance": 0.06667
}

Semantic roles & 50–950 ramp

primary
#4E4079
secondary
#97A471
accent
#C761AE
background
#F8F7F9
surface
#EFEDF2
border
#CAC8CC
text
#0A080E
muted
#7C7B7E

Preview Lab

Preview with #4E4079

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

Preview Lab → · Contrast checker → · Palette generator →

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