#4E1C61#4E1C61

#4E1C61 is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.7% C 0.123 H 315.3°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#4E1C61
RGBrgb(78, 28, 97)
HSLhsl(283, 55%, 25%)
HSVhsv(283, 71%, 38%)
CMYKcmyk(19.6%, 71.1%, 0%, 62%)
CIE-LABlab(21.26, 35.28, -30.70)
CIE-LCHlch(21.26, 46.77, 318.97°)
OKLaboklab(33.66% 0.0871 -0.0863)
OKLCHoklch(33.66% 0.123 315.3)
XYZxyz(5.7145, 3.3135, 11.6455)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1C61 #2F611C
analogous
#2C1C61 #4E1C61 #611C52
triadic
#4E1C61 #614E1C #1C614E
tetradic
#4E1C61 #612C1C #2F611C #1C5261
square
#4E1C61 #612C1C #2F611C #1C5261
split-complementary
#4E1C61 #52611C #1C612C
monochromatic
#130718 #280E32 #4E1C61 #742A90 #9A37C0

Accessibility & contrast

On white

12.63
#4E1C61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#4E1C61 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1C61
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1C61#FFFFFF#000000##FFFFFF
##4E1C611.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003063
Deuteranopia (green-blind)
#1B345F
Tritanopia (blue-blind)
#4D293C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4e1c61;
/* rgb */ color: rgb(78, 28, 97);
/* oklch */ color: oklch(33.7% 0.123 315.3);
Tailwind
colors: {
  custom: {
    50: '#825c8e',
    500: '#4e1c61',
    950: '#000000',
  },
}
SCSS
$custom: #4e1c61;
$custom-light: #825c8e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1c61",
  "rgb": {
    "r": 78,
    "g": 28,
    "b": 97
  },
  "hsl": {
    "h": 283.478,
    "s": 55.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.33656,
    "c": 0.12259,
    "h": 315.3
  },
  "luminance": 0.03313
}

Semantic roles & 50–950 ramp

primary
#4E1C61
secondary
#5A9643
accent
#DF4972
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4E1C61

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

Preview Lab → · Contrast checker → · Palette generator →

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