#4E1961#4E1961

#4E1961 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.3% C 0.127 H 315.7°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#4E1961
RGBrgb(78, 25, 97)
HSLhsl(284, 59%, 24%)
HSVhsv(284, 74%, 38%)
CMYKcmyk(19.6%, 74.2%, 0%, 62%)
CIE-LABlab(20.74, 36.72, -31.52)
CIE-LCHlch(20.74, 48.40, 319.36°)
OKLaboklab(33.29% 0.0908 -0.0887)
OKLCHoklch(33.29% 0.127 315.7)
XYZxyz(5.6468, 3.1782, 11.6230)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1961 #2C6119
analogous
#2A1961 #4E1961 #611950
triadic
#4E1961 #614E19 #19614E
tetradic
#4E1961 #612A19 #2C6119 #195061
square
#4E1961 #612A19 #2C6119 #195061
split-complementary
#4E1961 #506119 #19612A
monochromatic
#140618 #270C30 #4E1961 #752692 #9C32C2

Accessibility & contrast

On white

12.84
#4E1961 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1961
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1961#FFFFFF#000000##FFFFFF
##4E19611.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e1961;
/* rgb */ color: rgb(78, 25, 97);
/* oklch */ color: oklch(33.3% 0.127 315.7);
Tailwind
colors: {
  custom: {
    50: '#825b8e',
    500: '#4e1961',
    950: '#000000',
  },
}
SCSS
$custom: #4e1961;
$custom-light: #825b8e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1961",
  "rgb": {
    "r": 78,
    "g": 25,
    "b": 97
  },
  "hsl": {
    "h": 284.167,
    "s": 59.016,
    "l": 23.922
  },
  "oklch": {
    "l": 0.33288,
    "c": 0.12688,
    "h": 315.7
  },
  "luminance": 0.03178
}

Semantic roles & 50–950 ramp

primary
#4E1961
secondary
#56973F
accent
#E2466F
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4E1961

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

Preview Lab → · Contrast checker → · Palette generator →

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