#4E1051#4E1051

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

Color values

HEX#4E1051
RGBrgb(78, 16, 81)
HSLhsl(297, 67%, 19%)
HSVhsv(297, 80%, 32%)
CMYKcmyk(3.7%, 80.2%, 0%, 68.2%)
CIE-LABlab(18.30, 37.14, -24.73)
CIE-LCHlch(18.30, 44.62, 326.34°)
OKLaboklab(31.19% 0.102 -0.0688)
OKLCHoklch(31.19% 0.123 326)
XYZxyz(4.8123, 2.5847, 8.0284)
Luminance0.0258 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1051 #135110
analogous
#2E1051 #4E1051 #511034
triadic
#4E1051 #514E10 #10514E
tetradic
#4E1051 #512E10 #135110 #103451
square
#4E1051 #512E10 #135110 #103451
split-complementary
#4E1051 #345110 #10512E
monochromatic
#19051A #1D061E #4E1051 #7F1A84 #B024B7

Accessibility & contrast

On white

13.84
#4E1051 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1051
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1051#FFFFFF#000000##FFFFFF
##4E10511.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012853
Deuteranopia (green-blind)
#1F2F4F
Tritanopia (blue-blind)
#501B2F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4e1051;
/* rgb */ color: rgb(78, 16, 81);
/* oklch */ color: oklch(31.2% 0.123 326.0);
Tailwind
colors: {
  custom: {
    50: '#825682',
    500: '#4e1051',
    950: '#000000',
  },
}
SCSS
$custom: #4e1051;
$custom-light: #825682;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1051",
  "rgb": {
    "r": 78,
    "g": 16,
    "b": 81
  },
  "hsl": {
    "h": 297.231,
    "s": 67.01,
    "l": 19.02
  },
  "oklch": {
    "l": 0.31186,
    "c": 0.12297,
    "h": 326
  },
  "luminance": 0.02584
}

Semantic roles & 50–950 ramp

primary
#4E1051
secondary
#368B32
accent
#EA3E46
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4E1051

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

Preview Lab → · Contrast checker → · Palette generator →

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