#4E3984#4E3984

#4E3984 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 40.8% C 0.121 H 293.2°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#4E3984
RGBrgb(78, 57, 132)
HSLhsl(257, 40%, 37%)
HSVhsv(257, 57%, 52%)
CMYKcmyk(40.9%, 56.8%, 0%, 48.2%)
CIE-LABlab(29.94, 27.91, -39.14)
CIE-LCHlch(29.94, 48.07, 305.49°)
OKLaboklab(40.76% 0.0476 -0.1112)
OKLCHoklch(40.76% 0.121 293.2)
XYZxyz(8.7688, 6.2117, 22.5623)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3984 #6F8439
analogous
#394A84 #4E3984 #743984
triadic
#4E3984 #844E39 #39844E
tetradic
#4E3984 #84394A #6F8439 #398474
square
#4E3984 #84394A #6F8439 #398474
split-complementary
#4E3984 #847439 #4A8439
monochromatic
#1B142F #352759 #4E3984 #674BAF #8A74C3

Accessibility & contrast

On white

9.36
#4E3984 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E3984
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3984#FFFFFF#000000##FFFFFF
##4E39841.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154787
Deuteranopia (green-blind)
#1A4582
Tritanopia (blue-blind)
#404959
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4e3984;
/* rgb */ color: rgb(78, 57, 132);
/* oklch */ color: oklch(40.8% 0.121 293.2);
Tailwind
colors: {
  custom: {
    50: '#8370a8',
    500: '#4e3984',
    950: '#000000',
  },
}
SCSS
$custom: #4e3984;
$custom-light: #8370a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3984",
  "rgb": {
    "r": 78,
    "g": 57,
    "b": 132
  },
  "hsl": {
    "h": 256.8,
    "s": 39.683,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40764,
    "c": 0.12093,
    "h": 293.2
  },
  "luminance": 0.06212
}

Semantic roles & 50–950 ramp

primary
#4E3984
secondary
#9AAC6D
accent
#D058AE
background
#F8F6FA
surface
#EFECF4
border
#CAC7CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #4E3984

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

Preview Lab → · Contrast checker → · Palette generator →

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