#4E1854#4E1854

#4E1854 is a dark, moderate purple. Relative luminance 0.029; OKLCH L 32.3% C 0.115 H 323.6°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#4E1854
RGBrgb(78, 24, 84)
HSLhsl(294, 56%, 21%)
HSVhsv(294, 71%, 33%)
CMYKcmyk(7.1%, 71.4%, 0%, 67.1%)
CIE-LABlab(19.69, 34.35, -24.54)
CIE-LCHlch(19.69, 42.21, 324.46°)
OKLaboklab(32.25% 0.0925 -0.0683)
OKLCHoklch(32.25% 0.115 323.6)
XYZxyz(5.0686, 2.9134, 8.6811)
Luminance0.0291 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1854 #1E5418
analogous
#301854 #4E1854 #54183C
triadic
#4E1854 #544E18 #18544E
tetradic
#4E1854 #543018 #1E5418 #183C54
square
#4E1854 #543018 #1E5418 #183C54
split-complementary
#4E1854 #3C5418 #185430
monochromatic
#160718 #220A24 #4E1854 #7A2684 #A633B3

Accessibility & contrast

On white

13.27
#4E1854 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#4E1854 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1854
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1854#FFFFFF#000000##FFFFFF
##4E18541.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2C56
Deuteranopia (green-blind)
#223252
Tritanopia (blue-blind)
#4F2233
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4e1854;
/* rgb */ color: rgb(78, 24, 84);
/* oklch */ color: oklch(32.3% 0.115 323.6);
Tailwind
colors: {
  custom: {
    50: '#825a84',
    500: '#4e1854',
    950: '#000000',
  },
}
SCSS
$custom: #4e1854;
$custom-light: #825a84;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1854",
  "rgb": {
    "r": 78,
    "g": 24,
    "b": 84
  },
  "hsl": {
    "h": 294,
    "s": 55.556,
    "l": 21.176
  },
  "oklch": {
    "l": 0.3225,
    "c": 0.11499,
    "h": 323.6
  },
  "luminance": 0.02913
}

Semantic roles & 50–950 ramp

primary
#4E1854
secondary
#458B3D
accent
#DF4958
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4E1854

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

Preview Lab → · Contrast checker → · Palette generator →

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