#4E1C64#4E1C64

#4E1C64 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 33.9% C 0.126 H 313.6°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#4E1C64
RGBrgb(78, 28, 100)
HSLhsl(282, 56%, 25%)
HSVhsv(282, 72%, 39%)
CMYKcmyk(22%, 72%, 0%, 60.8%)
CIE-LABlab(21.47, 35.98, -32.33)
CIE-LCHlch(21.47, 48.37, 318.06°)
OKLaboklab(33.88% 0.0869 -0.0911)
OKLCHoklch(33.88% 0.126 313.6)
XYZxyz(5.8570, 3.3705, 12.3962)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1C64 #32641C
analogous
#2A1C64 #4E1C64 #641C56
triadic
#4E1C64 #644E1C #1C644E
tetradic
#4E1C64 #642A1C #32641C #1C5664
square
#4E1C64 #642A1C #32641C #1C5664
split-complementary
#4E1C64 #56641C #1C642A
monochromatic
#130718 #290F34 #4E1C64 #732994 #9937C4

Accessibility & contrast

On white

12.54
#4E1C64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#4E1C64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1C64
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1C64#FFFFFF#000000##FFFFFF
##4E1C641.0012.541.6712.54
#FFFFFF12.541.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003166
Deuteranopia (green-blind)
#183562
Tritanopia (blue-blind)
#4C2A3D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4e1c64;
/* rgb */ color: rgb(78, 28, 100);
/* oklch */ color: oklch(33.9% 0.126 313.6);
Tailwind
colors: {
  custom: {
    50: '#825d91',
    500: '#4e1c64',
    950: '#000000',
  },
}
SCSS
$custom: #4e1c64;
$custom-light: #825d91;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1c64",
  "rgb": {
    "r": 78,
    "g": 28,
    "b": 100
  },
  "hsl": {
    "h": 281.667,
    "s": 56.25,
    "l": 25.098
  },
  "oklch": {
    "l": 0.33877,
    "c": 0.12585,
    "h": 313.6
  },
  "luminance": 0.0337
}

Semantic roles & 50–950 ramp

primary
#4E1C64
secondary
#5D9943
accent
#E04876
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040D
muted
#7C797D

Preview Lab

Preview with #4E1C64

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

Preview Lab → · Contrast checker → · Palette generator →

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