#4E3D7E#4E3D7E

#4E3D7E is a dark, moderate violet. Relative luminance 0.065; OKLCH L 41.1% C 0.106 H 293.2°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#4E3D7E
RGBrgb(78, 61, 126)
HSLhsl(256, 35%, 37%)
HSVhsv(256, 52%, 49%)
CMYKcmyk(38.1%, 51.6%, 0%, 50.6%)
CIE-LABlab(30.55, 23.60, -34.42)
CIE-LCHlch(30.55, 41.73, 304.43°)
OKLaboklab(41.09% 0.0418 -0.0973)
OKLCHoklch(41.09% 0.106 293.2)
XYZxyz(8.5755, 6.4634, 20.5304)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3D7E #6D7E3D
analogous
#3D4D7E #4E3D7E #6F3D7E
triadic
#4E3D7E #7E4E3D #3D7E4E
tetradic
#4E3D7E #7E3D4D #6D7E3D #3D7E6F
square
#4E3D7E #7E3D4D #6D7E3D #3D7E6F
split-complementary
#4E3D7E #7E6F3D #4D7E3D
monochromatic
#1B152C #342955 #4E3D7E #6851A7 #8A78BE

Accessibility & contrast

On white

9.16
#4E3D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#4E3D7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3D7E
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3D7E#FFFFFF#000000##FFFFFF
##4E3D7E1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244980
Deuteranopia (green-blind)
#27477C
Tritanopia (blue-blind)
#424A57
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4e3d7e;
/* rgb */ color: rgb(78, 61, 126);
/* oklch */ color: oklch(41.1% 0.106 293.2);
Tailwind
colors: {
  custom: {
    50: '#8273a4',
    500: '#4e3d7e',
    950: '#000000',
  },
}
SCSS
$custom: #4e3d7e;
$custom-light: #8273a4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3d7e",
  "rgb": {
    "r": 78,
    "g": 61,
    "b": 126
  },
  "hsl": {
    "h": 255.692,
    "s": 34.759,
    "l": 36.667
  },
  "oklch": {
    "l": 0.41094,
    "c": 0.10588,
    "h": 293.2
  },
  "luminance": 0.06464
}

Semantic roles & 50–950 ramp

primary
#4E3D7E
secondary
#99A86F
accent
#CB5DAE
background
#F8F6FA
surface
#EFECF4
border
#CAC7CE
text
#0B080F
muted
#7C7B7F

Preview Lab

Preview with #4E3D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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