#4E1855#4E1855

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

Color values

HEX#4E1855
RGBrgb(78, 24, 85)
HSLhsl(293, 56%, 21%)
HSVhsv(293, 72%, 33%)
CMYKcmyk(8.2%, 71.8%, 0%, 66.7%)
CIE-LABlab(19.76, 34.56, -25.11)
CIE-LCHlch(19.76, 42.72, 324.00°)
OKLaboklab(32.32% 0.0925 -0.0699)
OKLCHoklch(32.32% 0.116 322.9)
XYZxyz(5.1081, 2.9291, 8.8889)
Luminance0.0293 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1855 #1F5518
analogous
#301855 #4E1855 #55183E
triadic
#4E1855 #554E18 #18554E
tetradic
#4E1855 #553018 #1F5518 #183E55
square
#4E1855 #553018 #1F5518 #183E55
split-complementary
#4E1855 #3E5518 #185530
monochromatic
#160718 #220B25 #4E1855 #7A2585 #A633B4

Accessibility & contrast

On white

13.24
#4E1855 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1855
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1855#FFFFFF#000000##FFFFFF
##4E18551.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092C57
Deuteranopia (green-blind)
#213253
Tritanopia (blue-blind)
#4F2234
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4e1855;
/* rgb */ color: rgb(78, 24, 85);
/* oklch */ color: oklch(32.3% 0.116 322.9);
Tailwind
colors: {
  custom: {
    50: '#825a85',
    500: '#4e1855',
    950: '#000000',
  },
}
SCSS
$custom: #4e1855;
$custom-light: #825a85;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1855",
  "rgb": {
    "r": 78,
    "g": 24,
    "b": 85
  },
  "hsl": {
    "h": 293.115,
    "s": 55.963,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32317,
    "c": 0.11599,
    "h": 322.9
  },
  "luminance": 0.02929
}

Semantic roles & 50–950 ramp

primary
#4E1855
secondary
#468C3D
accent
#DF495A
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4E1855

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

Preview Lab → · Contrast checker → · Palette generator →

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