#4E1951#4E1951

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

Color values

HEX#4E1951
RGBrgb(78, 25, 81)
HSLhsl(297, 53%, 21%)
HSVhsv(297, 69%, 32%)
CMYKcmyk(3.7%, 69.1%, 0%, 68.2%)
CIE-LABlab(19.68, 33.25, -22.54)
CIE-LCHlch(19.68, 40.17, 325.86°)
OKLaboklab(32.18% 0.0911 -0.0625)
OKLCHoklch(32.18% 0.11 325.6)
XYZxyz(4.9746, 2.9093, 8.0825)
Luminance0.0291 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1951 #1C5119
analogous
#321951 #4E1951 #511938
triadic
#4E1951 #514E19 #19514E
tetradic
#4E1951 #513219 #1C5119 #193851
square
#4E1951 #513219 #1C5119 #193851
split-complementary
#4E1951 #385119 #195132
monochromatic
#170717 #210B22 #4E1951 #7B2780 #A836AF

Accessibility & contrast

On white

13.28
#4E1951 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1951
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1951#FFFFFF#000000##FFFFFF
##4E19511.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102B53
Deuteranopia (green-blind)
#243250
Tritanopia (blue-blind)
#502132
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4e1951;
/* rgb */ color: rgb(78, 25, 81);
/* oklch */ color: oklch(32.2% 0.110 325.6);
Tailwind
colors: {
  custom: {
    50: '#825a82',
    500: '#4e1951',
    950: '#000000',
  },
}
SCSS
$custom: #4e1951;
$custom-light: #825a82;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1951",
  "rgb": {
    "r": 78,
    "g": 25,
    "b": 81
  },
  "hsl": {
    "h": 296.786,
    "s": 52.83,
    "l": 20.784
  },
  "oklch": {
    "l": 0.32177,
    "c": 0.11048,
    "h": 325.6
  },
  "luminance": 0.02909
}

Semantic roles & 50–950 ramp

primary
#4E1951
secondary
#42873E
accent
#DC4C53
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #4E1951

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

Preview Lab → · Contrast checker → · Palette generator →

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