#4E2648#4E2648

#4E2648 is a dark, moderate purple. Relative luminance 0.035; OKLCH L 33.6% C 0.078 H 333.0°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#4E2648
RGBrgb(78, 38, 72)
HSLhsl(309, 34%, 23%)
HSVhsv(309, 51%, 31%)
CMYKcmyk(0%, 51.3%, 7.7%, 69.4%)
CIE-LABlab(21.85, 24.26, -13.05)
CIE-LCHlch(21.85, 27.55, 331.72°)
OKLaboklab(33.62% 0.0694 -0.0354)
OKLCHoklch(33.62% 0.078 333)
XYZxyz(5.0047, 3.4741, 6.5366)
Luminance0.0347 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2648 #264E2C
analogous
#40264E #4E2648 #4E2634
triadic
#4E2648 #484E26 #26484E
tetradic
#4E2648 #4E4026 #264E2C #26344E
square
#4E2648 #4E4026 #264E2C #26344E
split-complementary
#4E2648 #344E26 #264E40
monochromatic
#150A13 #251222 #4E2648 #773A6E #A04E94

Accessibility & contrast

On white

12.39
#4E2648 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E2648
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2648#FFFFFF#000000##FFFFFF
##4E26481.0012.391.6912.39
#FFFFFF12.391.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253149
Deuteranopia (green-blind)
#303647
Tritanopia (blue-blind)
#512833
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4e2648;
/* rgb */ color: rgb(78, 38, 72);
/* oklch */ color: oklch(33.6% 0.078 333.0);
Tailwind
colors: {
  custom: {
    50: '#81627b',
    500: '#4e2648',
    950: '#000000',
  },
}
SCSS
$custom: #4e2648;
$custom-light: #81627b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2648",
  "rgb": {
    "r": 78,
    "g": 38,
    "b": 72
  },
  "hsl": {
    "h": 309,
    "s": 34.483,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33617,
    "c": 0.07792,
    "h": 333
  },
  "luminance": 0.03474
}

Semantic roles & 50–950 ramp

primary
#4E2648
secondary
#4F8156
accent
#CB6E5D
background
#F7F5F7
surface
#EEEAED
border
#C9C6C8
text
#0A0509
muted
#7C797B

Preview Lab

Preview with #4E2648

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

Preview Lab → · Contrast checker → · Palette generator →

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