#4E3493#4E3493

#4E3493 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.1% C 0.149 H 291.0°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#4E3493
RGBrgb(78, 52, 147)
HSLhsl(256, 48%, 39%)
HSVhsv(256, 65%, 58%)
CMYKcmyk(46.9%, 64.6%, 0%, 42.4%)
CIE-LABlab(29.87, 35.43, -48.53)
CIE-LCHlch(29.87, 60.09, 306.13°)
OKLaboklab(41.06% 0.0533 -0.1388)
OKLCHoklch(41.06% 0.149 291)
XYZxyz(9.6349, 6.1819, 28.2837)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3493 #799334
analogous
#344A93 #4E3493 #7E3493
triadic
#4E3493 #934E34 #34934E
tetradic
#4E3493 #93344A #799334 #34937E
square
#4E3493 #93344A #799334 #34937E
split-complementary
#4E3493 #937E34 #4A9334
monochromatic
#1E1439 #362466 #4E3493 #6746BE #8C74CE

Accessibility & contrast

On white

9.39
#4E3493 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#4E3493 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3493
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3493#FFFFFF#000000##FFFFFF
##4E34931.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004896
Deuteranopia (green-blind)
#004491
Tritanopia (blue-blind)
#394A5E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4e3493;
/* rgb */ color: rgb(78, 52, 147);
/* oklch */ color: oklch(41.1% 0.149 291.0);
Tailwind
colors: {
  custom: {
    50: '#856db3',
    500: '#4e3493',
    950: '#000000',
  },
}
SCSS
$custom: #4e3493;
$custom-light: #856db3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3493",
  "rgb": {
    "r": 78,
    "g": 52,
    "b": 147
  },
  "hsl": {
    "h": 256.421,
    "s": 47.739,
    "l": 39.02
  },
  "oklch": {
    "l": 0.41056,
    "c": 0.14864,
    "h": 291
  },
  "luminance": 0.06182
}

Semantic roles & 50–950 ramp

primary
#4E3493
secondary
#A2B66D
accent
#D750B2
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #4E3493

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

Preview Lab → · Contrast checker → · Palette generator →

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