#4E1952#4E1952

#4E1952 is a dark, moderate purple. Relative luminance 0.029; OKLCH L 32.2% C 0.111 H 324.9°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#4E1952
RGBrgb(78, 25, 82)
HSLhsl(296, 53%, 21%)
HSVhsv(296, 70%, 32%)
CMYKcmyk(4.9%, 69.5%, 0%, 67.8%)
CIE-LABlab(19.74, 33.45, -23.12)
CIE-LCHlch(19.74, 40.67, 325.35°)
OKLaboklab(32.24% 0.0912 -0.0641)
OKLCHoklch(32.24% 0.111 324.9)
XYZxyz(5.0124, 2.9245, 8.2815)
Luminance0.0292 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1952 #1D5219
analogous
#311952 #4E1952 #521939
triadic
#4E1952 #524E19 #19524E
tetradic
#4E1952 #523119 #1D5219 #193952
square
#4E1952 #523119 #1D5219 #193952
split-complementary
#4E1952 #395219 #195231
monochromatic
#160717 #210B23 #4E1952 #7B2781 #A736B0

Accessibility & contrast

On white

13.25
#4E1952 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#4E1952 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1952
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1952#FFFFFF#000000##FFFFFF
##4E19521.0013.251.5813.25
#FFFFFF13.251.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2C54
Deuteranopia (green-blind)
#233251
Tritanopia (blue-blind)
#502133
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4e1952;
/* rgb */ color: rgb(78, 25, 82);
/* oklch */ color: oklch(32.2% 0.111 324.9);
Tailwind
colors: {
  custom: {
    50: '#825a83',
    500: '#4e1952',
    950: '#000000',
  },
}
SCSS
$custom: #4e1952;
$custom-light: #825a83;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1952",
  "rgb": {
    "r": 78,
    "g": 25,
    "b": 82
  },
  "hsl": {
    "h": 295.789,
    "s": 53.271,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32242,
    "c": 0.11147,
    "h": 324.9
  },
  "luminance": 0.02924
}

Semantic roles & 50–950 ramp

primary
#4E1952
secondary
#44883E
accent
#DD4B55
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #4E1952

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

Preview Lab → · Contrast checker → · Palette generator →

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