#4E3E76#4E3E76

#4E3E76 is a dark, moderate violet. Relative luminance 0.064; OKLCH L 40.8% C 0.092 H 295.2°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#4E3E76
RGBrgb(78, 62, 118)
HSLhsl(257, 31%, 35%)
HSVhsv(257, 47%, 46%)
CMYKcmyk(33.9%, 47.5%, 0%, 53.7%)
CIE-LABlab(30.33, 20.62, -29.75)
CIE-LCHlch(30.33, 36.20, 304.72°)
OKLaboklab(40.78% 0.0393 -0.0836)
OKLCHoklch(40.78% 0.092 295.2)
XYZxyz(8.1337, 6.3728, 17.9376)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3E76 #66763E
analogous
#3E4A76 #4E3E76 #6A3E76
triadic
#4E3E76 #764E3E #3E764E
tetradic
#4E3E76 #763E4A #66763E #3E766A
square
#4E3E76 #763E4A #66763E #3E766A
split-complementary
#4E3E76 #766A3E #4A763E
monochromatic
#191426 #33294E #4E3E76 #69539E #8977B7

Accessibility & contrast

On white

9.23
#4E3E76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E3E76
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3E76#FFFFFF#000000##FFFFFF
##4E3E761.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4878
Deuteranopia (green-blind)
#2F4775
Tritanopia (blue-blind)
#454854
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4e3e76;
/* rgb */ color: rgb(78, 62, 118);
/* oklch */ color: oklch(40.8% 0.092 295.2);
Tailwind
colors: {
  custom: {
    50: '#81739e',
    500: '#4e3e76',
    950: '#000000',
  },
}
SCSS
$custom: #4e3e76;
$custom-light: #81739e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3e76",
  "rgb": {
    "r": 78,
    "g": 62,
    "b": 118
  },
  "hsl": {
    "h": 257.143,
    "s": 31.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.40775,
    "c": 0.09241,
    "h": 295.2
  },
  "luminance": 0.06373
}

Semantic roles & 50–950 ramp

primary
#4E3E76
secondary
#93A26E
accent
#C760AA
background
#F8F7F9
surface
#EFEDF2
border
#CAC8CC
text
#0A080E
muted
#7C7B7E

Preview Lab

Preview with #4E3E76

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

Preview Lab → · Contrast checker → · Palette generator →

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