#4E2DA9#4E2DA9

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

Color values

HEX#4E2DA9
RGBrgb(78, 45, 169)
HSLhsl(256, 58%, 42%)
HSVhsv(256, 73%, 66%)
CMYKcmyk(53.8%, 73.4%, 0%, 33.7%)
CIE-LABlab(30.30, 45.83, -61.18)
CIE-LCHlch(30.30, 76.44, 306.84°)
OKLaboklab(41.95% 0.0565 -0.1759)
OKLCHoklch(41.95% 0.185 287.8)
XYZxyz(11.2396, 6.3605, 38.1639)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2DA9 #88A92D
analogous
#2D4AA9 #4E2DA9 #8C2DA9
triadic
#4E2DA9 #A94E2D #2DA94E
tetradic
#4E2DA9 #A92D4A #88A92D #2DA98C
square
#4E2DA9 #A92D4A #88A92D #2DA98C
split-complementary
#4E2DA9 #A98C2D #4AA92D
monochromatic
#211348 #382079 #4E2DA9 #6A46CE #9176DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E2DA9#FFFFFF#000000##FFFFFF
##4E2DA91.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)
#004AAD
Deuteranopia (green-blind)
#0044A7
Tritanopia (blue-blind)
#2A4E68
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4e2da9;
/* rgb */ color: rgb(78, 45, 169);
/* oklch */ color: oklch(41.9% 0.185 287.8);
Tailwind
colors: {
  custom: {
    50: '#8969c4',
    500: '#4e2da9',
    950: '#000000',
  },
}
SCSS
$custom: #4e2da9;
$custom-light: #8969c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2da9",
  "rgb": {
    "r": 78,
    "g": 45,
    "b": 169
  },
  "hsl": {
    "h": 255.968,
    "s": 57.944,
    "l": 41.961
  },
  "oklch": {
    "l": 0.41946,
    "c": 0.18475,
    "h": 287.8
  },
  "luminance": 0.06361
}

Semantic roles & 50–950 ramp

primary
#4E2DA9
secondary
#ACC26F
accent
#E147B8
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0D0613
muted
#7D7A82

Preview Lab

Preview with #4E2DA9

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

Preview Lab → · Contrast checker → · Palette generator →

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