#4E1D5C#4E1D5C

#4E1D5C is a dark, moderate purple. Relative luminance 0.033; OKLCH L 33.4% C 0.116 H 318.0°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#4E1D5C
RGBrgb(78, 29, 92)
HSLhsl(287, 52%, 24%)
HSVhsv(287, 68%, 36%)
CMYKcmyk(15.2%, 68.5%, 0%, 63.9%)
CIE-LABlab(21.10, 33.63, -27.65)
CIE-LCHlch(21.10, 43.54, 320.58°)
OKLaboklab(33.43% 0.0859 -0.0774)
OKLCHoklch(33.43% 0.116 318)
XYZxyz(5.5127, 3.2714, 10.4642)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1D5C #2B5C1D
analogous
#2E1D5C #4E1D5C #5C1D4A
triadic
#4E1D5C #5C4E1D #1D5C4E
tetradic
#4E1D5C #5C2E1D #2B5C1D #1D4A5C
square
#4E1D5C #5C2E1D #2B5C1D #1D4A5C
split-complementary
#4E1D5C #4A5C1D #1D5C2E
monochromatic
#140717 #270E2D #4E1D5C #752C8B #9D3AB9

Accessibility & contrast

On white

12.69
#4E1D5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#4E1D5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1D5C
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1D5C#FFFFFF#000000##FFFFFF
##4E1D5C1.0012.691.6512.69
#FFFFFF12.691.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09305E
Deuteranopia (green-blind)
#20345A
Tritanopia (blue-blind)
#4E2839
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4e1d5c;
/* rgb */ color: rgb(78, 29, 92);
/* oklch */ color: oklch(33.4% 0.116 318.0);
Tailwind
colors: {
  custom: {
    50: '#825d8a',
    500: '#4e1d5c',
    950: '#000000',
  },
}
SCSS
$custom: #4e1d5c;
$custom-light: #825d8a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1d5c",
  "rgb": {
    "r": 78,
    "g": 29,
    "b": 92
  },
  "hsl": {
    "h": 286.667,
    "s": 52.066,
    "l": 23.725
  },
  "oklch": {
    "l": 0.33433,
    "c": 0.11564,
    "h": 318
  },
  "luminance": 0.03271
}

Semantic roles & 50–950 ramp

primary
#4E1D5C
secondary
#559144
accent
#DC4C6C
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4E1D5C

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

Preview Lab → · Contrast checker → · Palette generator →

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