#4E3693#4E3693

#4E3693 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.4% C 0.146 H 290.5°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#4E3693
RGBrgb(78, 54, 147)
HSLhsl(255, 46%, 39%)
HSVhsv(255, 63%, 58%)
CMYKcmyk(46.9%, 63.3%, 0%, 42.4%)
CIE-LABlab(30.31, 34.24, -47.81)
CIE-LCHlch(30.31, 58.80, 305.61°)
OKLaboklab(41.38% 0.051 -0.1366)
OKLCHoklch(41.38% 0.146 290.5)
XYZxyz(9.7260, 6.3643, 28.3141)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3693 #7B9336
analogous
#364D93 #4E3693 #7D3693
triadic
#4E3693 #934E36 #36934E
tetradic
#4E3693 #93364D #7B9336 #36937D
square
#4E3693 #93364D #7B9336 #36937D
split-complementary
#4E3693 #937D36 #4D9336
monochromatic
#1F1539 #362666 #4E3693 #674ABC #8D77CD

Accessibility & contrast

On white

9.24
#4E3693 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E3693
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3693#FFFFFF#000000##FFFFFF
##4E36931.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004996
Deuteranopia (green-blind)
#004591
Tritanopia (blue-blind)
#394C5F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4e3693;
/* rgb */ color: rgb(78, 54, 147);
/* oklch */ color: oklch(41.4% 0.146 290.5);
Tailwind
colors: {
  custom: {
    50: '#856eb3',
    500: '#4e3693',
    950: '#000000',
  },
}
SCSS
$custom: #4e3693;
$custom-light: #856eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3693",
  "rgb": {
    "r": 78,
    "g": 54,
    "b": 147
  },
  "hsl": {
    "h": 255.484,
    "s": 46.269,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41381,
    "c": 0.14585,
    "h": 290.5
  },
  "luminance": 0.06365
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E3693

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

Preview Lab → · Contrast checker → · Palette generator →

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