#4E244F#4E244F

#4E244F is a dark, moderate purple. Relative luminance 0.034; OKLCH L 33.7% C 0.089 H 326.5°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#4E244F
RGBrgb(78, 36, 79)
HSLhsl(299, 37%, 23%)
HSVhsv(299, 54%, 31%)
CMYKcmyk(1.3%, 54.4%, 0%, 69%)
CIE-LABlab(21.75, 26.91, -17.94)
CIE-LCHlch(21.75, 32.34, 326.31°)
OKLaboklab(33.66% 0.0743 -0.0493)
OKLCHoklch(33.66% 0.089 326.5)
XYZxyz(5.1839, 3.4462, 7.7878)
Luminance0.0345 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E244F #254F24
analogous
#39244F #4E244F #4F243A
triadic
#4E244F #4F4E24 #244F4E
tetradic
#4E244F #4F3924 #254F24 #243A4F
square
#4E244F #4F3924 #254F24 #243A4F
split-complementary
#4E244F #3A4F24 #244F39
monochromatic
#150A15 #241125 #4E244F #783779 #A14AA3

Accessibility & contrast

On white

12.43
#4E244F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E244F
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E244F#FFFFFF#000000##FFFFFF
##4E244F1.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203150
Deuteranopia (green-blind)
#2C364E
Tritanopia (blue-blind)
#502936
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4e244f;
/* rgb */ color: rgb(78, 36, 79);
/* oklch */ color: oklch(33.7% 0.089 326.5);
Tailwind
colors: {
  custom: {
    50: '#816180',
    500: '#4e244f',
    950: '#000000',
  },
}
SCSS
$custom: #4e244f;
$custom-light: #816180;
$custom-dark: #000000;
JSON
{
  "hex": "#4e244f",
  "rgb": {
    "r": 78,
    "g": 36,
    "b": 79
  },
  "hsl": {
    "h": 298.605,
    "s": 37.391,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33657,
    "c": 0.08919,
    "h": 326.5
  },
  "luminance": 0.03446
}

Semantic roles & 50–950 ramp

primary
#4E244F
secondary
#4E824C
accent
#CD5A5D
background
#F8F5F7
surface
#EFEAEE
border
#CAC6C9
text
#0A050A
muted
#7C797C

Preview Lab

Preview with #4E244F

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

Preview Lab → · Contrast checker → · Palette generator →

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