#4E3499#4E3499

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

Color values

HEX#4E3499
RGBrgb(78, 52, 153)
HSLhsl(255, 49%, 40%)
HSVhsv(255, 66%, 60%)
CMYKcmyk(49%, 66%, 0%, 40%)
CIE-LABlab(30.34, 37.23, -51.43)
CIE-LCHlch(30.34, 63.49, 305.90°)
OKLaboklab(41.55% 0.0527 -0.1473)
OKLCHoklch(41.55% 0.156 289.7)
XYZxyz(10.1180, 6.3752, 30.8282)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3499 #7F9934
analogous
#344C99 #4E3499 #813499
triadic
#4E3499 #994E34 #34994E
tetradic
#4E3499 #99344C #7F9934 #349981
square
#4E3499 #99344C #7F9934 #349981
split-complementary
#4E3499 #998134 #4C9934
monochromatic
#1F153E #37246B #4E3499 #6849C1 #8E77D1

Accessibility & contrast

On white

9.23
#4E3499 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E3499
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3499#FFFFFF#000000##FFFFFF
##4E34991.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499C
Deuteranopia (green-blind)
#004597
Tritanopia (blue-blind)
#354C62
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4e3499;
/* rgb */ color: rgb(78, 52, 153);
/* oklch */ color: oklch(41.5% 0.156 289.7);
Tailwind
colors: {
  custom: {
    50: '#866db8',
    500: '#4e3499',
    950: '#000000',
  },
}
SCSS
$custom: #4e3499;
$custom-light: #866db8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3499",
  "rgb": {
    "r": 78,
    "g": 52,
    "b": 153
  },
  "hsl": {
    "h": 255.446,
    "s": 49.268,
    "l": 40.196
  },
  "oklch": {
    "l": 0.41547,
    "c": 0.15643,
    "h": 289.7
  },
  "luminance": 0.06376
}

Semantic roles & 50–950 ramp

primary
#4E3499
secondary
#A6B970
accent
#D94FB5
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #4E3499

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

Preview Lab → · Contrast checker → · Palette generator →

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