#4E2D84#4E2D84

#4E2D84 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 38.8% C 0.139 H 296.8°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#4E2D84
RGBrgb(78, 45, 132)
HSLhsl(263, 49%, 35%)
HSVhsv(263, 66%, 52%)
CMYKcmyk(40.9%, 65.9%, 0%, 48.2%)
CIE-LABlab(27.19, 35.16, -43.57)
CIE-LCHlch(27.19, 55.99, 308.90°)
OKLaboklab(38.75% 0.0628 -0.1242)
OKLCHoklch(38.75% 0.139 296.8)
XYZxyz(8.2441, 5.1623, 22.3874)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2D84 #63842D
analogous
#2D3784 #4E2D84 #7A2D84
triadic
#4E2D84 #844E2D #2D844E
tetradic
#4E2D84 #842D37 #63842D #2D847A
square
#4E2D84 #842D37 #63842D #2D847A
split-complementary
#4E2D84 #847A2D #37842D
monochromatic
#180E29 #331D56 #4E2D84 #693DB2 #8962C9

Accessibility & contrast

On white

10.33
#4E2D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#4E2D84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2D84
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2D84#FFFFFF#000000##FFFFFF
##4E2D841.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004187
Deuteranopia (green-blind)
#003F82
Tritanopia (blue-blind)
#414154
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4e2d84;
/* rgb */ color: rgb(78, 45, 132);
/* oklch */ color: oklch(38.8% 0.139 296.8);
Tailwind
colors: {
  custom: {
    50: '#8468a8',
    500: '#4e2d84',
    950: '#000000',
  },
}
SCSS
$custom: #4e2d84;
$custom-light: #8468a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2d84",
  "rgb": {
    "r": 78,
    "g": 45,
    "b": 132
  },
  "hsl": {
    "h": 262.759,
    "s": 49.153,
    "l": 34.706
  },
  "oklch": {
    "l": 0.38753,
    "c": 0.13918,
    "h": 296.8
  },
  "luminance": 0.05162
}

Semantic roles & 50–950 ramp

primary
#4E2D84
secondary
#90B05D
accent
#D94FA5
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4E2D84

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

Preview Lab → · Contrast checker → · Palette generator →

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