#4E2452#4E2452

#4E2452 is a dark, moderate purple. Relative luminance 0.035; OKLCH L 33.8% C 0.092 H 324.0°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#4E2452
RGBrgb(78, 36, 82)
HSLhsl(295, 39%, 23%)
HSVhsv(295, 56%, 32%)
CMYKcmyk(4.9%, 56.1%, 0%, 67.8%)
CIE-LABlab(21.91, 27.56, -19.69)
CIE-LCHlch(21.91, 33.87, 324.45°)
OKLaboklab(33.83% 0.0749 -0.0543)
OKLCHoklch(33.83% 0.092 324)
XYZxyz(5.2956, 3.4909, 8.3759)
Luminance0.0349 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2452 #285224
analogous
#372452 #4E2452 #52243F
triadic
#4E2452 #524E24 #24524E
tetradic
#4E2452 #523724 #285224 #243F52
square
#4E2452 #523724 #285224 #243F52
split-complementary
#4E2452 #3F5224 #245237
monochromatic
#140915 #261127 #4E2452 #76377D #9F49A7

Accessibility & contrast

On white

12.37
#4E2452 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#4E2452 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2452
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2452#FFFFFF#000000##FFFFFF
##4E24521.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3154
Deuteranopia (green-blind)
#2B3651
Tritanopia (blue-blind)
#502A37
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4e2452;
/* rgb */ color: rgb(78, 36, 82);
/* oklch */ color: oklch(33.8% 0.092 324.0);
Tailwind
colors: {
  custom: {
    50: '#816183',
    500: '#4e2452',
    950: '#000000',
  },
}
SCSS
$custom: #4e2452;
$custom-light: #816183;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2452",
  "rgb": {
    "r": 78,
    "g": 36,
    "b": 82
  },
  "hsl": {
    "h": 294.783,
    "s": 38.983,
    "l": 23.137
  },
  "oklch": {
    "l": 0.3383,
    "c": 0.09249,
    "h": 324
  },
  "luminance": 0.03491
}

Semantic roles & 50–950 ramp

primary
#4E2452
secondary
#51864C
accent
#CF5963
background
#F8F5F8
surface
#EFEAEF
border
#CAC6CA
text
#0A050A
muted
#7C797C

Preview Lab

Preview with #4E2452

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

Preview Lab → · Contrast checker → · Palette generator →

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