#4E264B#4E264B

#4E264B is a dark, moderate purple. Relative luminance 0.035; OKLCH L 33.8% C 0.081 H 330.0°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#4E264B
RGBrgb(78, 38, 75)
HSLhsl(305, 34%, 23%)
HSVhsv(305, 51%, 31%)
CMYKcmyk(0%, 51.3%, 3.8%, 69.4%)
CIE-LABlab(22.00, 24.87, -14.86)
CIE-LCHlch(22.00, 28.97, 329.15°)
OKLaboklab(33.77% 0.0702 -0.0405)
OKLCHoklch(33.77% 0.081 330)
XYZxyz(5.1049, 3.5142, 7.0647)
Luminance0.0351 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E264B #264E29
analogous
#3D264E #4E264B #4E2637
triadic
#4E264B #4B4E26 #264B4E
tetradic
#4E264B #4E3D26 #264E29 #26374E
square
#4E264B #4E3D26 #264E29 #26374E
split-complementary
#4E264B #374E26 #264E3D
monochromatic
#150A14 #251223 #4E264B #773A73 #A04E9A

Accessibility & contrast

On white

12.33
#4E264B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E264B
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E264B#FFFFFF#000000##FFFFFF
##4E264B1.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24314C
Deuteranopia (green-blind)
#2F374A
Tritanopia (blue-blind)
#512935
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4e264b;
/* rgb */ color: rgb(78, 38, 75);
/* oklch */ color: oklch(33.8% 0.081 330.0);
Tailwind
colors: {
  custom: {
    50: '#81627d',
    500: '#4e264b',
    950: '#000000',
  },
}
SCSS
$custom: #4e264b;
$custom-light: #81627d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e264b",
  "rgb": {
    "r": 78,
    "g": 38,
    "b": 75
  },
  "hsl": {
    "h": 304.5,
    "s": 34.483,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33772,
    "c": 0.08102,
    "h": 330
  },
  "luminance": 0.03514
}

Semantic roles & 50–950 ramp

primary
#4E264B
secondary
#4F8153
accent
#CB655D
background
#F7F5F7
surface
#EEEAEE
border
#C9C6C9
text
#0A0509
muted
#7C797B

Preview Lab

Preview with #4E264B

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

Preview Lab → · Contrast checker → · Palette generator →

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