#4D2253#4D2253

#4D2253 is a dark, moderate purple. Relative luminance 0.033; OKLCH L 33.4% C 0.097 H 322.6°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#4D2253
RGBrgb(77, 34, 83)
HSLhsl(293, 42%, 23%)
HSVhsv(293, 59%, 33%)
CMYKcmyk(7.2%, 59%, 0%, 67.5%)
CIE-LABlab(21.38, 28.61, -21.21)
CIE-LCHlch(21.38, 35.61, 323.45°)
OKLaboklab(33.43% 0.0768 -0.0587)
OKLCHoklch(33.43% 0.097 322.6)
XYZxyz(5.1938, 3.3466, 8.5543)
Luminance0.0335 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2253 #285322
analogous
#342253 #4D2253 #532240
triadic
#4D2253 #534D22 #22534D
tetradic
#4D2253 #533422 #285322 #224053
square
#4D2253 #533422 #285322 #224053
split-complementary
#4D2253 #405322 #225334
monochromatic
#140916 #251028 #4D2253 #75347E #9E46AA

Accessibility & contrast

On white

12.58
#4D2253 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#4D2253 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2253
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2253#FFFFFF#000000##FFFFFF
##4D22531.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3055
Deuteranopia (green-blind)
#283552
Tritanopia (blue-blind)
#4E2937
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4d2253;
/* rgb */ color: rgb(77, 34, 83);
/* oklch */ color: oklch(33.4% 0.097 322.6);
Tailwind
colors: {
  custom: {
    50: '#805f83',
    500: '#4d2253',
    950: '#000000',
  },
}
SCSS
$custom: #4d2253;
$custom-light: #805f83;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2253",
  "rgb": {
    "r": 77,
    "g": 34,
    "b": 83
  },
  "hsl": {
    "h": 292.653,
    "s": 41.88,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33426,
    "c": 0.09666,
    "h": 322.6
  },
  "luminance": 0.03346
}

Semantic roles & 50–950 ramp

primary
#4D2253
secondary
#51874A
accent
#D25665
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#0A050A
muted
#7C797C

Preview Lab

Preview with #4D2253

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

Preview Lab → · Contrast checker → · Palette generator →

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