#4E2952#4E2952

#4E2952 is a dark, moderate purple. Relative luminance 0.038; OKLCH L 34.7% C 0.083 H 323.5°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#4E2952
RGBrgb(78, 41, 82)
HSLhsl(294, 33%, 24%)
HSVhsv(294, 50%, 32%)
CMYKcmyk(4.9%, 50%, 0%, 67.8%)
CIE-LABlab(23.05, 24.58, -17.91)
CIE-LCHlch(23.05, 30.41, 323.91°)
OKLaboklab(34.67% 0.0666 -0.0493)
OKLCHoklch(34.67% 0.083 323.5)
XYZxyz(5.4577, 3.8150, 8.4299)
Luminance0.0382 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2952 #2D5229
analogous
#3A2952 #4E2952 #522942
triadic
#4E2952 #524E29 #29524E
tetradic
#4E2952 #523A29 #2D5229 #294252
square
#4E2952 #523A29 #2D5229 #294252
split-complementary
#4E2952 #425229 #29523A
monochromatic
#130A14 #271529 #4E2952 #753D7B #9C52A4

Accessibility & contrast

On white

11.91
#4E2952 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#4E2952 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2952
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2952#FFFFFF#000000##FFFFFF
##4E29521.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243453
Deuteranopia (green-blind)
#2E3951
Tritanopia (blue-blind)
#4F2E39
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4e2952;
/* rgb */ color: rgb(78, 41, 82);
/* oklch */ color: oklch(34.7% 0.083 323.5);
Tailwind
colors: {
  custom: {
    50: '#816482',
    500: '#4e2952',
    950: '#000000',
  },
}
SCSS
$custom: #4e2952;
$custom-light: #816482;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2952",
  "rgb": {
    "r": 78,
    "g": 41,
    "b": 82
  },
  "hsl": {
    "h": 294.146,
    "s": 33.333,
    "l": 24.118
  },
  "oklch": {
    "l": 0.34673,
    "c": 0.08285,
    "h": 323.5
  },
  "luminance": 0.03815
}

Semantic roles & 50–950 ramp

primary
#4E2952
secondary
#578452
accent
#C95E69
background
#F7F6F8
surface
#EEEBEF
border
#C9C6CA
text
#0A050A
muted
#7C7A7C

Preview Lab

Preview with #4E2952

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

Preview Lab → · Contrast checker → · Palette generator →

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