#4D214F#4D214F

#4D214F is a dark, moderate purple. Relative luminance 0.032; OKLCH L 33.0% C 0.094 H 325.8°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#4D214F
RGBrgb(77, 33, 79)
HSLhsl(297, 41%, 22%)
HSVhsv(297, 58%, 31%)
CMYKcmyk(2.5%, 58.2%, 0%, 69%)
CIE-LABlab(20.94, 28.30, -19.21)
CIE-LCHlch(20.94, 34.20, 325.84°)
OKLaboklab(33.03% 0.0778 -0.0529)
OKLCHoklch(33.03% 0.094 325.8)
XYZxyz(5.0156, 3.2303, 7.7549)
Luminance0.0323 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D214F #234F21
analogous
#36214F #4D214F #4F213A
triadic
#4D214F #4F4D21 #214F4D
tetradic
#4D214F #4F3621 #234F21 #213A4F
square
#4D214F #4F3621 #234F21 #213A4F
split-complementary
#4D214F #3A4F21 #214F36
monochromatic
#150916 #230F24 #4D214F #77337A #A145A5

Accessibility & contrast

On white

12.76
#4D214F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#4D214F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D214F
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D214F#FFFFFF#000000##FFFFFF
##4D214F1.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2F50
Deuteranopia (green-blind)
#29344E
Tritanopia (blue-blind)
#4F2734
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4d214f;
/* rgb */ color: rgb(77, 33, 79);
/* oklch */ color: oklch(33.0% 0.094 325.8);
Tailwind
colors: {
  custom: {
    50: '#805f80',
    500: '#4d214f',
    950: '#000000',
  },
}
SCSS
$custom: #4d214f;
$custom-light: #805f80;
$custom-dark: #000000;
JSON
{
  "hex": "#4d214f",
  "rgb": {
    "r": 77,
    "g": 33,
    "b": 79
  },
  "hsl": {
    "h": 297.391,
    "s": 41.071,
    "l": 21.961
  },
  "oklch": {
    "l": 0.3303,
    "c": 0.09411,
    "h": 325.8
  },
  "luminance": 0.0323
}

Semantic roles & 50–950 ramp

primary
#4D214F
secondary
#4B8349
accent
#D1575C
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A040A
muted
#7C797C

Preview Lab

Preview with #4D214F

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

Preview Lab → · Contrast checker → · Palette generator →

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