#4E1351#4E1351

#4E1351 is a dark, moderate purple. Relative luminance 0.027; OKLCH L 31.5% C 0.119 H 325.9°. Best body text is #FFFFFF at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#4E1351
RGBrgb(78, 19, 81)
HSLhsl(297, 62%, 20%)
HSVhsv(297, 77%, 32%)
CMYKcmyk(3.7%, 76.5%, 0%, 68.2%)
CIE-LABlab(18.71, 35.96, -24.07)
CIE-LCHlch(18.71, 43.27, 326.20°)
OKLaboklab(31.48% 0.0987 -0.0669)
OKLCHoklch(31.48% 0.119 325.9)
XYZxyz(4.8599, 2.6798, 8.0443)
Luminance0.0268 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1351 #165113
analogous
#2F1351 #4E1351 #511335
triadic
#4E1351 #514E13 #13514E
tetradic
#4E1351 #512F13 #165113 #133551
square
#4E1351 #512F13 #165113 #133551
split-complementary
#4E1351 #355113 #13512F
monochromatic
#180619 #1E071F #4E1351 #7E1F83 #AD2AB4

Accessibility & contrast

On white

13.67
#4E1351 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#4E1351 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1351
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1351#FFFFFF#000000##FFFFFF
##4E13511.0013.671.5413.67
#FFFFFF13.671.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052953
Deuteranopia (green-blind)
#21304F
Tritanopia (blue-blind)
#501D30
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4e1351;
/* rgb */ color: rgb(78, 19, 81);
/* oklch */ color: oklch(31.5% 0.119 325.9);
Tailwind
colors: {
  custom: {
    50: '#825782',
    500: '#4e1351',
    950: '#000000',
  },
}
SCSS
$custom: #4e1351;
$custom-light: #825782;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1351",
  "rgb": {
    "r": 78,
    "g": 19,
    "b": 81
  },
  "hsl": {
    "h": 297.097,
    "s": 62,
    "l": 19.608
  },
  "oklch": {
    "l": 0.31483,
    "c": 0.11917,
    "h": 325.9
  },
  "luminance": 0.0268
}

Semantic roles & 50–950 ramp

primary
#4E1351
secondary
#3A8A36
accent
#E5434B
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4E1351

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

Preview Lab → · Contrast checker → · Palette generator →

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