#4E3B84#4E3B84

#4E3B84 is a dark, moderate violet. Relative luminance 0.064; OKLCH L 41.1% C 0.118 H 292.4°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#4E3B84
RGBrgb(78, 59, 132)
HSLhsl(256, 38%, 37%)
HSVhsv(256, 55%, 52%)
CMYKcmyk(40.9%, 55.3%, 0%, 48.2%)
CIE-LABlab(30.43, 26.65, -38.35)
CIE-LCHlch(30.43, 46.71, 304.80°)
OKLaboklab(41.13% 0.045 -0.1088)
OKLCHoklch(41.13% 0.118 292.4)
XYZxyz(8.8696, 6.4133, 22.5959)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3B84 #71843B
analogous
#3B4D84 #4E3B84 #723B84
triadic
#4E3B84 #844E3B #3B844E
tetradic
#4E3B84 #843B4D #71843B #3B8472
square
#4E3B84 #843B4D #71843B #3B8472
split-complementary
#4E3B84 #84723B #4D843B
monochromatic
#1C152F #35285A #4E3B84 #674EAE #8B77C2

Accessibility & contrast

On white

9.20
#4E3B84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E3B84
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3B84#FFFFFF#000000##FFFFFF
##4E3B841.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4987
Deuteranopia (green-blind)
#1E4682
Tritanopia (blue-blind)
#404A59
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4e3b84;
/* rgb */ color: rgb(78, 59, 132);
/* oklch */ color: oklch(41.1% 0.118 292.4);
Tailwind
colors: {
  custom: {
    50: '#8371a8',
    500: '#4e3b84',
    950: '#000000',
  },
}
SCSS
$custom: #4e3b84;
$custom-light: #8371a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3b84",
  "rgb": {
    "r": 78,
    "g": 59,
    "b": 132
  },
  "hsl": {
    "h": 255.616,
    "s": 38.22,
    "l": 37.451
  },
  "oklch": {
    "l": 0.41128,
    "c": 0.11776,
    "h": 292.4
  },
  "luminance": 0.06414
}

Semantic roles & 50–950 ramp

primary
#4E3B84
secondary
#9CAC6F
accent
#CE5AB0
background
#F8F6FA
surface
#EFECF4
border
#CAC7CE
text
#0B0810
muted
#7C7B7F

Preview Lab

Preview with #4E3B84

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

Preview Lab → · Contrast checker → · Palette generator →

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