#4E1264#4E1264

#4E1264 is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.8% C 0.139 H 314.9°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#4E1264
RGBrgb(78, 18, 100)
HSLhsl(284, 69%, 23%)
HSVhsv(284, 82%, 39%)
CMYKcmyk(22%, 82%, 0%, 60.8%)
CIE-LABlab(19.93, 40.34, -34.80)
CIE-LCHlch(19.93, 53.28, 319.21°)
OKLaboklab(32.78% 0.0978 -0.0983)
OKLCHoklch(32.78% 0.139 314.9)
XYZxyz(5.6581, 2.9726, 12.3298)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1264 #286412
analogous
#251264 #4E1264 #641251
triadic
#4E1264 #644E12 #12644E
tetradic
#4E1264 #642512 #286412 #125164
square
#4E1264 #642512 #286412 #125164
split-complementary
#4E1264 #516412 #126425
monochromatic
#14051A #260930 #4E1264 #761B98 #9F25CC

Accessibility & contrast

On white

13.17
#4E1264 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1264
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1264#FFFFFF#000000##FFFFFF
##4E12641.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D66
Deuteranopia (green-blind)
#0D3262
Tritanopia (blue-blind)
#4C253B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4e1264;
/* rgb */ color: rgb(78, 18, 100);
/* oklch */ color: oklch(32.8% 0.139 314.9);
Tailwind
colors: {
  custom: {
    50: '#835891',
    500: '#4e1264',
    950: '#000000',
  },
}
SCSS
$custom: #4e1264;
$custom-light: #835891;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1264",
  "rgb": {
    "r": 78,
    "g": 18,
    "b": 100
  },
  "hsl": {
    "h": 283.902,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.32784,
    "c": 0.13863,
    "h": 314.9
  },
  "luminance": 0.02972
}

Semantic roles & 50–950 ramp

primary
#4E1264
secondary
#519C36
accent
#EC3B6B
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040D
muted
#7C797D

Preview Lab

Preview with #4E1264

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

Preview Lab → · Contrast checker → · Palette generator →

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