#4E2352#4E2352

#4E2352 is a dark, moderate purple. Relative luminance 0.034; OKLCH L 33.7% C 0.094 H 324.1°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#4E2352
RGBrgb(78, 35, 82)
HSLhsl(295, 40%, 23%)
HSVhsv(295, 57%, 32%)
CMYKcmyk(4.9%, 57.3%, 0%, 67.8%)
CIE-LABlab(21.69, 28.14, -20.04)
CIE-LCHlch(21.69, 34.54, 324.55°)
OKLaboklab(33.67% 0.0764 -0.0553)
OKLCHoklch(33.67% 0.094 324.1)
XYZxyz(5.2658, 3.4312, 8.3659)
Luminance0.0343 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2352 #275223
analogous
#362352 #4E2352 #52233E
triadic
#4E2352 #524E23 #23524E
tetradic
#4E2352 #523623 #275223 #233E52
square
#4E2352 #523623 #275223 #233E52
split-complementary
#4E2352 #3E5223 #235236
monochromatic
#140915 #251127 #4E2352 #77357D #A048A8

Accessibility & contrast

On white

12.45
#4E2352 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#4E2352 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2352
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2352#FFFFFF#000000##FFFFFF
##4E23521.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3154
Deuteranopia (green-blind)
#2A3651
Tritanopia (blue-blind)
#502937
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4e2352;
/* rgb */ color: rgb(78, 35, 82);
/* oklch */ color: oklch(33.7% 0.094 324.1);
Tailwind
colors: {
  custom: {
    50: '#816083',
    500: '#4e2352',
    950: '#000000',
  },
}
SCSS
$custom: #4e2352;
$custom-light: #816083;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2352",
  "rgb": {
    "r": 78,
    "g": 35,
    "b": 82
  },
  "hsl": {
    "h": 294.894,
    "s": 40.171,
    "l": 22.941
  },
  "oklch": {
    "l": 0.3367,
    "c": 0.09435,
    "h": 324.1
  },
  "luminance": 0.03431
}

Semantic roles & 50–950 ramp

primary
#4E2352
secondary
#50864B
accent
#D05862
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0A050A
muted
#7C797C

Preview Lab

Preview with #4E2352

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

Preview Lab → · Contrast checker → · Palette generator →

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