#4E3884#4E3884

#4E3884 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 40.6% C 0.123 H 293.5°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#4E3884
RGBrgb(78, 56, 132)
HSLhsl(257, 40%, 37%)
HSVhsv(257, 58%, 52%)
CMYKcmyk(40.9%, 57.6%, 0%, 48.2%)
CIE-LABlab(29.70, 28.53, -39.53)
CIE-LCHlch(29.70, 48.75, 305.82°)
OKLaboklab(40.59% 0.0489 -0.1123)
OKLCHoklch(40.59% 0.123 293.5)
XYZxyz(8.7198, 6.1138, 22.5460)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3884 #6E8438
analogous
#384884 #4E3884 #743884
triadic
#4E3884 #844E38 #38844E
tetradic
#4E3884 #843848 #6E8438 #388474
square
#4E3884 #843848 #6E8438 #388474
split-complementary
#4E3884 #847438 #488438
monochromatic
#1B142E #352659 #4E3884 #674AAF #8A73C4

Accessibility & contrast

On white

9.45
#4E3884 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#4E3884 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3884
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3884#FFFFFF#000000##FFFFFF
##4E38841.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124787
Deuteranopia (green-blind)
#184582
Tritanopia (blue-blind)
#404858
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4e3884;
/* rgb */ color: rgb(78, 56, 132);
/* oklch */ color: oklch(40.6% 0.123 293.5);
Tailwind
colors: {
  custom: {
    50: '#836fa8',
    500: '#4e3884',
    950: '#000000',
  },
}
SCSS
$custom: #4e3884;
$custom-light: #836fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3884",
  "rgb": {
    "r": 78,
    "g": 56,
    "b": 132
  },
  "hsl": {
    "h": 257.368,
    "s": 40.426,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40585,
    "c": 0.12251,
    "h": 293.5
  },
  "luminance": 0.06114
}

Semantic roles & 50–950 ramp

primary
#4E3884
secondary
#9AAC6B
accent
#D058AD
background
#F8F6FA
surface
#EFECF4
border
#CAC7CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #4E3884

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

Preview Lab → · Contrast checker → · Palette generator →

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