#4E3D79#4E3D79

#4E3D79 is a dark, moderate violet. Relative luminance 0.063; OKLCH L 40.8% C 0.099 H 294.7°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#4E3D79
RGBrgb(78, 61, 121)
HSLhsl(257, 33%, 36%)
HSVhsv(257, 50%, 47%)
CMYKcmyk(35.5%, 49.6%, 0%, 52.5%)
CIE-LABlab(30.25, 22.13, -31.77)
CIE-LCHlch(30.25, 38.72, 304.86°)
OKLaboklab(40.77% 0.0412 -0.0895)
OKLCHoklch(40.77% 0.099 294.7)
XYZxyz(8.2609, 6.3375, 18.8735)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3D79 #68793D
analogous
#3D4A79 #4E3D79 #6C3D79
triadic
#4E3D79 #794E3D #3D794E
tetradic
#4E3D79 #793D4A #68793D #3D796C
square
#4E3D79 #793D4A #68793D #3D796C
split-complementary
#4E3D79 #796C3D #4A793D
monochromatic
#1A1428 #342850 #4E3D79 #6852A2 #8A76BA

Accessibility & contrast

On white

9.26
#4E3D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E3D79
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3D79#FFFFFF#000000##FFFFFF
##4E3D791.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28487B
Deuteranopia (green-blind)
#2B4678
Tritanopia (blue-blind)
#444855
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4e3d79;
/* rgb */ color: rgb(78, 61, 121);
/* oklch */ color: oklch(40.8% 0.099 294.7);
Tailwind
colors: {
  custom: {
    50: '#8273a0',
    500: '#4e3d79',
    950: '#000000',
  },
}
SCSS
$custom: #4e3d79;
$custom-light: #8273a0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3d79",
  "rgb": {
    "r": 78,
    "g": 61,
    "b": 121
  },
  "hsl": {
    "h": 257,
    "s": 32.967,
    "l": 35.686
  },
  "oklch": {
    "l": 0.40768,
    "c": 0.09856,
    "h": 294.7
  },
  "luminance": 0.06338
}

Semantic roles & 50–950 ramp

primary
#4E3D79
secondary
#95A46E
accent
#C95FAB
background
#F8F6F9
surface
#EFECF2
border
#CAC7CC
text
#0B080E
muted
#7C7B7E

Preview Lab

Preview with #4E3D79

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

Preview Lab → · Contrast checker → · Palette generator →

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