#4E264E#4E264E

#4E264E is a dark, moderate purple. Relative luminance 0.036; OKLCH L 33.9% C 0.084 H 327.2°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#4E264E
RGBrgb(78, 38, 78)
HSLhsl(300, 34%, 23%)
HSVhsv(300, 51%, 31%)
CMYKcmyk(0%, 51.3%, 0%, 69.4%)
CIE-LABlab(22.15, 25.51, -16.64)
CIE-LCHlch(22.15, 30.46, 326.88°)
OKLaboklab(33.93% 0.0708 -0.0456)
OKLCHoklch(33.93% 0.084 327.2)
XYZxyz(5.2101, 3.5563, 7.6182)
Luminance0.0356 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E264E #264E26
analogous
#3A264E #4E264E #4E263A
triadic
#4E264E #4E4E26 #264E4E
tetradic
#4E264E #4E3A26 #264E26 #263A4E
square
#4E264E #4E3A26 #264E26 #263A4E
split-complementary
#4E264E #3A4E26 #264E3A
monochromatic
#150A15 #251225 #4E264E #773A77 #A04EA0

Accessibility & contrast

On white

12.27
#4E264E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E264E
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E264E#FFFFFF#000000##FFFFFF
##4E264E1.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22324F
Deuteranopia (green-blind)
#2E374D
Tritanopia (blue-blind)
#502A36
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4e264e;
/* rgb */ color: rgb(78, 38, 78);
/* oklch */ color: oklch(33.9% 0.084 327.2);
Tailwind
colors: {
  custom: {
    50: '#81627f',
    500: '#4e264e',
    950: '#000000',
  },
}
SCSS
$custom: #4e264e;
$custom-light: #81627f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e264e",
  "rgb": {
    "r": 78,
    "g": 38,
    "b": 78
  },
  "hsl": {
    "h": 300,
    "s": 34.483,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33934,
    "c": 0.08423,
    "h": 327.2
  },
  "luminance": 0.03556
}

Semantic roles & 50–950 ramp

primary
#4E264E
secondary
#4F814F
accent
#CB5D5D
background
#F7F5F7
surface
#EEEAEE
border
#C9C6C9
text
#0A050A
muted
#7C797C

Preview Lab

Preview with #4E264E

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

Preview Lab → · Contrast checker → · Palette generator →

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