#4E1856#4E1856

#4E1856 is a dark, moderate purple. Relative luminance 0.029; OKLCH L 32.4% C 0.117 H 322.3°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#4E1856
RGBrgb(78, 24, 86)
HSLhsl(292, 56%, 22%)
HSVhsv(292, 72%, 34%)
CMYKcmyk(9.3%, 72.1%, 0%, 66.3%)
CIE-LABlab(19.82, 34.77, -25.68)
CIE-LCHlch(19.82, 43.22, 323.55°)
OKLaboklab(32.39% 0.0925 -0.0716)
OKLCHoklch(32.39% 0.117 322.3)
XYZxyz(5.1481, 2.9451, 9.0996)
Luminance0.0295 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1856 #205618
analogous
#2F1856 #4E1856 #56183F
triadic
#4E1856 #564E18 #18564E
tetradic
#4E1856 #562F18 #205618 #183F56
square
#4E1856 #562F18 #205618 #183F56
split-complementary
#4E1856 #3F5618 #18562F
monochromatic
#160718 #230B26 #4E1856 #792586 #A533B6

Accessibility & contrast

On white

13.22
#4E1856 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#4E1856 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1856
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1856#FFFFFF#000000##FFFFFF
##4E18561.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072C58
Deuteranopia (green-blind)
#203254
Tritanopia (blue-blind)
#4F2234
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4e1856;
/* rgb */ color: rgb(78, 24, 86);
/* oklch */ color: oklch(32.4% 0.117 322.3);
Tailwind
colors: {
  custom: {
    50: '#825a86',
    500: '#4e1856',
    950: '#000000',
  },
}
SCSS
$custom: #4e1856;
$custom-light: #825a86;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1856",
  "rgb": {
    "r": 78,
    "g": 24,
    "b": 86
  },
  "hsl": {
    "h": 292.258,
    "s": 56.364,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32385,
    "c": 0.11699,
    "h": 322.3
  },
  "luminance": 0.02945
}

Semantic roles & 50–950 ramp

primary
#4E1856
secondary
#478D3D
accent
#E0485C
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4E1856

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

Preview Lab → · Contrast checker → · Palette generator →

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