#4E1151#4E1151

#4E1151 is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.3% C 0.122 H 326.0°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#4E1151
RGBrgb(78, 17, 81)
HSLhsl(297, 65%, 19%)
HSVhsv(297, 79%, 32%)
CMYKcmyk(3.7%, 79%, 0%, 68.2%)
CIE-LABlab(18.43, 36.76, -24.52)
CIE-LCHlch(18.43, 44.19, 326.29°)
OKLaboklab(31.28% 0.1009 -0.0681)
OKLCHoklch(31.28% 0.122 326)
XYZxyz(4.8274, 2.6150, 8.0335)
Luminance0.0261 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1151 #145111
analogous
#2E1151 #4E1151 #511134
triadic
#4E1151 #514E11 #11514E
tetradic
#4E1151 #512E11 #145111 #113451
square
#4E1151 #512E11 #145111 #113451
split-complementary
#4E1151 #345111 #11512E
monochromatic
#180519 #1D061E #4E1151 #7F1C84 #AF26B6

Accessibility & contrast

On white

13.79
#4E1151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#4E1151 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1151
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1151#FFFFFF#000000##FFFFFF
##4E11511.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022853
Deuteranopia (green-blind)
#1F304F
Tritanopia (blue-blind)
#501C30
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4e1151;
/* rgb */ color: rgb(78, 17, 81);
/* oklch */ color: oklch(31.3% 0.122 326.0);
Tailwind
colors: {
  custom: {
    50: '#825682',
    500: '#4e1151',
    950: '#000000',
  },
}
SCSS
$custom: #4e1151;
$custom-light: #825682;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1151",
  "rgb": {
    "r": 78,
    "g": 17,
    "b": 81
  },
  "hsl": {
    "h": 297.188,
    "s": 65.306,
    "l": 19.216
  },
  "oklch": {
    "l": 0.31281,
    "c": 0.12175,
    "h": 326
  },
  "luminance": 0.02615
}

Semantic roles & 50–950 ramp

primary
#4E1151
secondary
#388A34
accent
#E84047
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4E1151

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

Preview Lab → · Contrast checker → · Palette generator →

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