#4E1C65#4E1C65

#4E1C65 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.0% C 0.127 H 313.1°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#4E1C65
RGBrgb(78, 28, 101)
HSLhsl(281, 57%, 25%)
HSVhsv(281, 72%, 40%)
CMYKcmyk(22.8%, 72.3%, 0%, 60.4%)
CIE-LABlab(21.54, 36.22, -32.87)
CIE-LCHlch(21.54, 48.91, 317.77°)
OKLaboklab(33.95% 0.0868 -0.0926)
OKLCHoklch(33.95% 0.127 313.1)
XYZxyz(5.9057, 3.3900, 12.6526)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1C65 #33651C
analogous
#2A1C65 #4E1C65 #651C57
triadic
#4E1C65 #654E1C #1C654E
tetradic
#4E1C65 #652A1C #33651C #1C5765
square
#4E1C65 #652A1C #33651C #1C5765
split-complementary
#4E1C65 #57651C #1C652A
monochromatic
#130718 #290F35 #4E1C65 #732995 #9837C5

Accessibility & contrast

On white

12.51
#4E1C65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#4E1C65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1C65
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1C65#FFFFFF#000000##FFFFFF
##4E1C651.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003167
Deuteranopia (green-blind)
#173563
Tritanopia (blue-blind)
#4C2B3E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4e1c65;
/* rgb */ color: rgb(78, 28, 101);
/* oklch */ color: oklch(34.0% 0.127 313.1);
Tailwind
colors: {
  custom: {
    50: '#825d91',
    500: '#4e1c65',
    950: '#000000',
  },
}
SCSS
$custom: #4e1c65;
$custom-light: #825d91;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1c65",
  "rgb": {
    "r": 78,
    "g": 28,
    "b": 101
  },
  "hsl": {
    "h": 281.096,
    "s": 56.589,
    "l": 25.294
  },
  "oklch": {
    "l": 0.33951,
    "c": 0.12694,
    "h": 313.1
  },
  "luminance": 0.0339
}

Semantic roles & 50–950 ramp

primary
#4E1C65
secondary
#5E9A43
accent
#E04878
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4E1C65

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

Preview Lab → · Contrast checker → · Palette generator →

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