#4E2652#4E2652

#4E2652 is a dark, moderate purple. Relative luminance 0.036; OKLCH L 34.2% C 0.089 H 323.8°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#4E2652
RGBrgb(78, 38, 82)
HSLhsl(295, 37%, 24%)
HSVhsv(295, 54%, 32%)
CMYKcmyk(4.9%, 53.7%, 0%, 67.8%)
CIE-LABlab(22.36, 26.38, -19.00)
CIE-LCHlch(22.36, 32.51, 324.24°)
OKLaboklab(34.16% 0.0716 -0.0523)
OKLCHoklch(34.16% 0.089 323.8)
XYZxyz(5.3578, 3.6154, 8.3966)
Luminance0.0362 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2652 #2A5226
analogous
#382652 #4E2652 #522640
triadic
#4E2652 #524E26 #26524E
tetradic
#4E2652 #523826 #2A5226 #264052
square
#4E2652 #523826 #2A5226 #264052
split-complementary
#4E2652 #405226 #265238
monochromatic
#140A15 #261328 #4E2652 #76397C #9E4DA6

Accessibility & contrast

On white

12.19
#4E2652 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#4E2652 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2652
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2652#FFFFFF#000000##FFFFFF
##4E26521.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203253
Deuteranopia (green-blind)
#2C3751
Tritanopia (blue-blind)
#4F2B38
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4e2652;
/* rgb */ color: rgb(78, 38, 82);
/* oklch */ color: oklch(34.2% 0.089 323.8);
Tailwind
colors: {
  custom: {
    50: '#816283',
    500: '#4e2652',
    950: '#000000',
  },
}
SCSS
$custom: #4e2652;
$custom-light: #816283;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2652",
  "rgb": {
    "r": 78,
    "g": 38,
    "b": 82
  },
  "hsl": {
    "h": 294.545,
    "s": 36.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.34159,
    "c": 0.0887,
    "h": 323.8
  },
  "luminance": 0.03615
}

Semantic roles & 50–950 ramp

primary
#4E2652
secondary
#54854F
accent
#CD5B65
background
#F8F5F8
surface
#EFEAEF
border
#CAC6CA
text
#0A050A
muted
#7C797C

Preview Lab

Preview with #4E2652

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

Preview Lab → · Contrast checker → · Palette generator →

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