#4E1A61#4E1A61

#4E1A61 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.4% C 0.125 H 315.5°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#4E1A61
RGBrgb(78, 26, 97)
HSLhsl(284, 58%, 24%)
HSVhsv(284, 73%, 38%)
CMYKcmyk(19.6%, 73.2%, 0%, 62%)
CIE-LABlab(20.91, 36.25, -31.25)
CIE-LCHlch(20.91, 47.86, 319.23°)
OKLaboklab(33.41% 0.0896 -0.0879)
OKLCHoklch(33.41% 0.125 315.5)
XYZxyz(5.6686, 3.2218, 11.6302)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1A61 #2D611A
analogous
#2B1A61 #4E1A61 #611A51
triadic
#4E1A61 #614E1A #1A614E
tetradic
#4E1A61 #612B1A #2D611A #1A5161
square
#4E1A61 #612B1A #2D611A #1A5161
split-complementary
#4E1A61 #51611A #1A612B
monochromatic
#130618 #270D31 #4E1A61 #752791 #9C34C2

Accessibility & contrast

On white

12.77
#4E1A61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#4E1A61 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1A61
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1A61#FFFFFF#000000##FFFFFF
##4E1A611.0012.771.6412.77
#FFFFFF12.771.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F63
Deuteranopia (green-blind)
#19345F
Tritanopia (blue-blind)
#4D283B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4e1a61;
/* rgb */ color: rgb(78, 26, 97);
/* oklch */ color: oklch(33.4% 0.125 315.5);
Tailwind
colors: {
  custom: {
    50: '#825b8e',
    500: '#4e1a61',
    950: '#000000',
  },
}
SCSS
$custom: #4e1a61;
$custom-light: #825b8e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1a61",
  "rgb": {
    "r": 78,
    "g": 26,
    "b": 97
  },
  "hsl": {
    "h": 283.944,
    "s": 57.724,
    "l": 24.118
  },
  "oklch": {
    "l": 0.33407,
    "c": 0.12548,
    "h": 315.5
  },
  "luminance": 0.03222
}

Semantic roles & 50–950 ramp

primary
#4E1A61
secondary
#579740
accent
#E14770
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4E1A61

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

Preview Lab → · Contrast checker → · Palette generator →

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