#4E3384#4E3384

#4E3384 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 39.7% C 0.130 H 295.2°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#4E3384
RGBrgb(78, 51, 132)
HSLhsl(260, 44%, 36%)
HSVhsv(260, 61%, 52%)
CMYKcmyk(40.9%, 61.4%, 0%, 48.2%)
CIE-LABlab(28.52, 31.61, -41.43)
CIE-LCHlch(28.52, 52.11, 307.34°)
OKLaboklab(39.72% 0.0554 -0.1179)
OKLCHoklch(39.72% 0.13 295.2)
XYZxyz(8.4895, 5.6531, 22.4692)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3384 #698433
analogous
#334084 #4E3384 #763384
triadic
#4E3384 #844E33 #33844E
tetradic
#4E3384 #843340 #698433 #338476
square
#4E3384 #843340 #698433 #338476
split-complementary
#4E3384 #847633 #408433
monochromatic
#1A112C #342258 #4E3384 #6844B0 #8A6BC6

Accessibility & contrast

On white

9.86
#4E3384 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#4E3384 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3384
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3384#FFFFFF#000000##FFFFFF
##4E33841.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004487
Deuteranopia (green-blind)
#0D4282
Tritanopia (blue-blind)
#404556
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4e3384;
/* rgb */ color: rgb(78, 51, 132);
/* oklch */ color: oklch(39.7% 0.130 295.2);
Tailwind
colors: {
  custom: {
    50: '#846ca8',
    500: '#4e3384',
    950: '#000000',
  },
}
SCSS
$custom: #4e3384;
$custom-light: #846ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3384",
  "rgb": {
    "r": 78,
    "g": 51,
    "b": 132
  },
  "hsl": {
    "h": 260,
    "s": 44.262,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39719,
    "c": 0.13026,
    "h": 295.2
  },
  "luminance": 0.05653
}

Semantic roles & 50–950 ramp

primary
#4E3384
secondary
#96AE65
accent
#D454A9
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #4E3384

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

Preview Lab → · Contrast checker → · Palette generator →

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