#4E264A#4E264A

#4E264A is a dark, moderate purple. Relative luminance 0.035; OKLCH L 33.7% C 0.080 H 331.0°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#4E264A
RGBrgb(78, 38, 74)
HSLhsl(306, 34%, 23%)
HSVhsv(306, 51%, 31%)
CMYKcmyk(0%, 51.3%, 5.1%, 69.4%)
CIE-LABlab(21.95, 24.67, -14.26)
CIE-LCHlch(21.95, 28.49, 329.97°)
OKLaboklab(33.72% 0.0699 -0.0388)
OKLCHoklch(33.72% 0.08 331)
XYZxyz(5.0710, 3.5006, 6.8858)
Luminance0.0350 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E264A #264E2A
analogous
#3E264E #4E264A #4E2636
triadic
#4E264A #4A4E26 #264A4E
tetradic
#4E264A #4E3E26 #264E2A #26364E
square
#4E264A #4E3E26 #264E2A #26364E
split-complementary
#4E264A #364E26 #264E3E
monochromatic
#150A14 #251223 #4E264A #773A71 #A04E98

Accessibility & contrast

On white

12.35
#4E264A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E264A
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E264A#FFFFFF#000000##FFFFFF
##4E264A1.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24314B
Deuteranopia (green-blind)
#303749
Tritanopia (blue-blind)
#512934
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4e264a;
/* rgb */ color: rgb(78, 38, 74);
/* oklch */ color: oklch(33.7% 0.080 331.0);
Tailwind
colors: {
  custom: {
    50: '#81627c',
    500: '#4e264a',
    950: '#000000',
  },
}
SCSS
$custom: #4e264a;
$custom-light: #81627c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e264a",
  "rgb": {
    "r": 78,
    "g": 38,
    "b": 74
  },
  "hsl": {
    "h": 306,
    "s": 34.483,
    "l": 22.745
  },
  "oklch": {
    "l": 0.3372,
    "c": 0.07997,
    "h": 331
  },
  "luminance": 0.035
}

Semantic roles & 50–950 ramp

primary
#4E264A
secondary
#4F8154
accent
#CB685D
background
#F7F5F7
surface
#EEEAEE
border
#C9C6C9
text
#0A0509
muted
#7C797B

Preview Lab

Preview with #4E264A

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

Preview Lab → · Contrast checker → · Palette generator →

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