#4E264D#4E264D

#4E264D is a dark, moderate purple. Relative luminance 0.035; OKLCH L 33.9% C 0.083 H 328.1°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#4E264D
RGBrgb(78, 38, 77)
HSLhsl(302, 34%, 23%)
HSVhsv(302, 51%, 31%)
CMYKcmyk(0%, 51.3%, 1.3%, 69.4%)
CIE-LABlab(22.10, 25.30, -16.05)
CIE-LCHlch(22.10, 29.96, 327.61°)
OKLaboklab(33.88% 0.0706 -0.0439)
OKLCHoklch(33.88% 0.083 328.1)
XYZxyz(5.1745, 3.5420, 7.4309)
Luminance0.0354 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E264D #264E27
analogous
#3B264E #4E264D #4E2639
triadic
#4E264D #4D4E26 #264D4E
tetradic
#4E264D #4E3B26 #264E27 #26394E
square
#4E264D #4E3B26 #264E27 #26394E
split-complementary
#4E264D #394E26 #264E3B
monochromatic
#150A14 #251224 #4E264D #773A76 #A04E9E

Accessibility & contrast

On white

12.29
#4E264D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#4E264D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E264D
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E264D#FFFFFF#000000##FFFFFF
##4E264D1.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23324E
Deuteranopia (green-blind)
#2E374C
Tritanopia (blue-blind)
#502A36
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4e264d;
/* rgb */ color: rgb(78, 38, 77);
/* oklch */ color: oklch(33.9% 0.083 328.1);
Tailwind
colors: {
  custom: {
    50: '#81627f',
    500: '#4e264d',
    950: '#000000',
  },
}
SCSS
$custom: #4e264d;
$custom-light: #81627f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e264d",
  "rgb": {
    "r": 78,
    "g": 38,
    "b": 77
  },
  "hsl": {
    "h": 301.5,
    "s": 34.483,
    "l": 22.745
  },
  "oklch": {
    "l": 0.3388,
    "c": 0.08315,
    "h": 328.1
  },
  "luminance": 0.03542
}

Semantic roles & 50–950 ramp

primary
#4E264D
secondary
#4F8150
accent
#CB605D
background
#F7F5F7
surface
#EEEAEE
border
#C9C6C9
text
#0A050A
muted
#7C797C

Preview Lab

Preview with #4E264D

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

Preview Lab → · Contrast checker → · Palette generator →

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