#4E2B84#4E2B84

#4E2B84 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.5% C 0.142 H 297.3°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#4E2B84
RGBrgb(78, 43, 132)
HSLhsl(264, 51%, 34%)
HSVhsv(264, 67%, 52%)
CMYKcmyk(40.9%, 67.4%, 0%, 48.2%)
CIE-LABlab(26.77, 36.29, -44.25)
CIE-LCHlch(26.77, 57.23, 309.36°)
OKLaboklab(38.45% 0.0652 -0.1262)
OKLCHoklch(38.45% 0.142 297.3)
XYZxyz(8.1695, 5.0133, 22.3626)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2B84 #61842B
analogous
#2B3484 #4E2B84 #7B2B84
triadic
#4E2B84 #844E2B #2B844E
tetradic
#4E2B84 #842B34 #61842B #2B847B
square
#4E2B84 #842B34 #61842B #2B847B
split-complementary
#4E2B84 #847B2B #34842B
monochromatic
#170D28 #331C56 #4E2B84 #693AB2 #895FCB

Accessibility & contrast

On white

10.49
#4E2B84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#4E2B84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2B84
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2B84#FFFFFF#000000##FFFFFF
##4E2B841.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004087
Deuteranopia (green-blind)
#003E82
Tritanopia (blue-blind)
#414053
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4e2b84;
/* rgb */ color: rgb(78, 43, 132);
/* oklch */ color: oklch(38.5% 0.142 297.3);
Tailwind
colors: {
  custom: {
    50: '#8467a8',
    500: '#4e2b84',
    950: '#000000',
  },
}
SCSS
$custom: #4e2b84;
$custom-light: #8467a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2b84",
  "rgb": {
    "r": 78,
    "g": 43,
    "b": 132
  },
  "hsl": {
    "h": 263.596,
    "s": 50.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.3845,
    "c": 0.14203,
    "h": 297.3
  },
  "luminance": 0.05013
}

Semantic roles & 50–950 ramp

primary
#4E2B84
secondary
#8FB15A
accent
#DA4DA3
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4E2B84

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

Preview Lab → · Contrast checker → · Palette generator →

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