#4E3694#4E3694

#4E3694 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.5% C 0.147 H 290.2°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#4E3694
RGBrgb(78, 54, 148)
HSLhsl(255, 47%, 40%)
HSVhsv(255, 64%, 58%)
CMYKcmyk(47.3%, 63.5%, 0%, 42%)
CIE-LABlab(30.39, 34.54, -48.30)
CIE-LCHlch(30.39, 59.38, 305.57°)
OKLaboklab(41.46% 0.0509 -0.1381)
OKLCHoklch(41.46% 0.147 290.2)
XYZxyz(9.8048, 6.3958, 28.7291)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3694 #7C9436
analogous
#364D94 #4E3694 #7D3694
triadic
#4E3694 #944E36 #36944E
tetradic
#4E3694 #94364D #7C9436 #36947D
square
#4E3694 #94364D #7C9436 #36947D
split-complementary
#4E3694 #947D36 #4D9436
monochromatic
#1F153A #362667 #4E3694 #674ABD #8D77CD

Accessibility & contrast

On white

9.21
#4E3694 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#4E3694 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3694
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3694#FFFFFF#000000##FFFFFF
##4E36941.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004997
Deuteranopia (green-blind)
#004592
Tritanopia (blue-blind)
#384C60
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4e3694;
/* rgb */ color: rgb(78, 54, 148);
/* oklch */ color: oklch(41.5% 0.147 290.2);
Tailwind
colors: {
  custom: {
    50: '#856eb4',
    500: '#4e3694',
    950: '#000000',
  },
}
SCSS
$custom: #4e3694;
$custom-light: #856eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3694",
  "rgb": {
    "r": 78,
    "g": 54,
    "b": 148
  },
  "hsl": {
    "h": 255.319,
    "s": 46.535,
    "l": 39.608
  },
  "oklch": {
    "l": 0.41461,
    "c": 0.14716,
    "h": 290.2
  },
  "luminance": 0.06396
}

Semantic roles & 50–950 ramp

primary
#4E3694
secondary
#A4B670
accent
#D652B4
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #4E3694

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

Preview Lab → · Contrast checker → · Palette generator →

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