#4D225D#4D225D

#4D225D is a dark, moderate purple. Relative luminance 0.035; OKLCH L 34.1% C 0.108 H 315.9°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#4D225D
RGBrgb(77, 34, 93)
HSLhsl(284, 46%, 25%)
HSVhsv(284, 63%, 36%)
CMYKcmyk(17.2%, 63.4%, 0%, 63.5%)
CIE-LABlab(21.99, 30.91, -26.90)
CIE-LCHlch(21.99, 40.98, 318.97°)
OKLaboklab(34.07% 0.0776 -0.0753)
OKLCHoklch(34.07% 0.108 315.9)
XYZxyz(5.6081, 3.5123, 10.7363)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D225D #325D22
analogous
#30225D #4D225D #5D2250
triadic
#4D225D #5D4D22 #225D4D
tetradic
#4D225D #5D3022 #325D22 #22505D
square
#4D225D #5D3022 #325D22 #22505D
split-complementary
#4D225D #505D22 #225D30
monochromatic
#130816 #281230 #4D225D #72328A #9743B7

Accessibility & contrast

On white

12.34
#4D225D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D225D
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D225D#FFFFFF#000000##FFFFFF
##4D225D1.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11325F
Deuteranopia (green-blind)
#22365C
Tritanopia (blue-blind)
#4C2C3C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4d225d;
/* rgb */ color: rgb(77, 34, 93);
/* oklch */ color: oklch(34.1% 0.108 315.9);
Tailwind
colors: {
  custom: {
    50: '#81608b',
    500: '#4d225d',
    950: '#000000',
  },
}
SCSS
$custom: #4d225d;
$custom-light: #81608b;
$custom-dark: #000000;
JSON
{
  "hex": "#4d225d",
  "rgb": {
    "r": 77,
    "g": 34,
    "b": 93
  },
  "hsl": {
    "h": 283.729,
    "s": 46.457,
    "l": 24.902
  },
  "oklch": {
    "l": 0.34067,
    "c": 0.10807,
    "h": 315.9
  },
  "luminance": 0.03512
}

Semantic roles & 50–950 ramp

primary
#4D225D
secondary
#5D914A
accent
#D65276
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0A050C
muted
#7C797D

Preview Lab

Preview with #4D225D

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

Preview Lab → · Contrast checker → · Palette generator →

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