#4D244E#4D244E

#4D244E is a dark, moderate purple. Relative luminance 0.034; OKLCH L 33.5% C 0.087 H 326.4°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#4D244E
RGBrgb(77, 36, 78)
HSLhsl(299, 37%, 22%)
HSVhsv(299, 54%, 31%)
CMYKcmyk(1.3%, 53.8%, 0%, 69.4%)
CIE-LABlab(21.54, 26.35, -17.60)
CIE-LCHlch(21.54, 31.69, 326.27°)
OKLaboklab(33.45% 0.0728 -0.0483)
OKLCHoklch(33.45% 0.087 326.4)
XYZxyz(5.0665, 3.3899, 7.5937)
Luminance0.0339 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D244E #254E24
analogous
#38244E #4D244E #4E243A
triadic
#4D244E #4E4D24 #244E4D
tetradic
#4D244E #4E3824 #254E24 #243A4E
square
#4D244E #4E3824 #254E24 #243A4E
split-complementary
#4D244E #3A4E24 #244E38
monochromatic
#150A15 #241124 #4D244E #763778 #A04BA2

Accessibility & contrast

On white

12.51
#4D244E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#4D244E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D244E
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D244E#FFFFFF#000000##FFFFFF
##4D244E1.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20304F
Deuteranopia (green-blind)
#2C364D
Tritanopia (blue-blind)
#4F2935
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4d244e;
/* rgb */ color: rgb(77, 36, 78);
/* oklch */ color: oklch(33.5% 0.087 326.4);
Tailwind
colors: {
  custom: {
    50: '#80617f',
    500: '#4d244e',
    950: '#000000',
  },
}
SCSS
$custom: #4d244e;
$custom-light: #80617f;
$custom-dark: #000000;
JSON
{
  "hex": "#4d244e",
  "rgb": {
    "r": 77,
    "g": 36,
    "b": 78
  },
  "hsl": {
    "h": 298.571,
    "s": 36.842,
    "l": 22.353
  },
  "oklch": {
    "l": 0.33454,
    "c": 0.08738,
    "h": 326.4
  },
  "luminance": 0.0339
}

Semantic roles & 50–950 ramp

primary
#4D244E
secondary
#4E814C
accent
#CD5B5E
background
#F7F5F7
surface
#EEEAEE
border
#C9C6C9
text
#0A050A
muted
#7C797C

Preview Lab

Preview with #4D244E

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

Preview Lab → · Contrast checker → · Palette generator →

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