#4E1B51#4E1B51

#4E1B51 is a dark, moderate purple. Relative luminance 0.030; OKLCH L 32.4% C 0.107 H 325.5°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#4E1B51
RGBrgb(78, 27, 81)
HSLhsl(297, 50%, 21%)
HSVhsv(297, 67%, 32%)
CMYKcmyk(3.7%, 66.7%, 0%, 68.2%)
CIE-LABlab(20.04, 32.26, -21.98)
CIE-LCHlch(20.04, 39.03, 325.74°)
OKLaboklab(32.44% 0.0884 -0.0608)
OKLCHoklch(32.44% 0.107 325.5)
XYZxyz(5.0189, 2.9979, 8.0973)
Luminance0.0300 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1B51 #1E511B
analogous
#331B51 #4E1B51 #511B39
triadic
#4E1B51 #514E1B #1B514E
tetradic
#4E1B51 #51331B #1E511B #1B3951
square
#4E1B51 #51331B #1E511B #1B3951
split-complementary
#4E1B51 #39511B #1B5133
monochromatic
#160817 #220C23 #4E1B51 #7A2A7F #A63AAD

Accessibility & contrast

On white

13.13
#4E1B51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#4E1B51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1B51
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1B51#FFFFFF#000000##FFFFFF
##4E1B511.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132C53
Deuteranopia (green-blind)
#253350
Tritanopia (blue-blind)
#502233
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4e1b51;
/* rgb */ color: rgb(78, 27, 81);
/* oklch */ color: oklch(32.4% 0.107 325.5);
Tailwind
colors: {
  custom: {
    50: '#825b82',
    500: '#4e1b51',
    950: '#000000',
  },
}
SCSS
$custom: #4e1b51;
$custom-light: #825b82;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1b51",
  "rgb": {
    "r": 78,
    "g": 27,
    "b": 81
  },
  "hsl": {
    "h": 296.667,
    "s": 50,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32438,
    "c": 0.10728,
    "h": 325.5
  },
  "luminance": 0.02998
}

Semantic roles & 50–950 ramp

primary
#4E1B51
secondary
#458741
accent
#DA4E56
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #4E1B51

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

Preview Lab → · Contrast checker → · Palette generator →

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