#4E1352#4E1352

#4E1352 is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.6% C 0.120 H 325.2°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#4E1352
RGBrgb(78, 19, 82)
HSLhsl(296, 62%, 20%)
HSVhsv(296, 77%, 32%)
CMYKcmyk(4.9%, 76.8%, 0%, 67.8%)
CIE-LABlab(18.78, 36.15, -24.64)
CIE-LCHlch(18.78, 43.75, 325.72°)
OKLaboklab(31.55% 0.0986 -0.0685)
OKLCHoklch(31.55% 0.12 325.2)
XYZxyz(4.8976, 2.6950, 8.2432)
Luminance0.0270 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1352 #175213
analogous
#2E1352 #4E1352 #521337
triadic
#4E1352 #524E13 #13524E
tetradic
#4E1352 #522E13 #175213 #133752
square
#4E1352 #522E13 #175213 #133752
split-complementary
#4E1352 #375213 #13522E
monochromatic
#180619 #1F0720 #4E1352 #7D1F84 #AD2AB5

Accessibility & contrast

On white

13.65
#4E1352 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1352
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1352#FFFFFF#000000##FFFFFF
##4E13521.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042954
Deuteranopia (green-blind)
#203050
Tritanopia (blue-blind)
#501D31
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4e1352;
/* rgb */ color: rgb(78, 19, 82);
/* oklch */ color: oklch(31.6% 0.120 325.2);
Tailwind
colors: {
  custom: {
    50: '#825783',
    500: '#4e1352',
    950: '#000000',
  },
}
SCSS
$custom: #4e1352;
$custom-light: #825783;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1352",
  "rgb": {
    "r": 78,
    "g": 19,
    "b": 82
  },
  "hsl": {
    "h": 296.19,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.31551,
    "c": 0.12011,
    "h": 325.2
  },
  "luminance": 0.02695
}

Semantic roles & 50–950 ramp

primary
#4E1352
secondary
#3C8A36
accent
#E5424D
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4E1352

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

Preview Lab → · Contrast checker → · Palette generator →

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