#4D245D#4D245D

#4D245D is a dark, moderate purple. Relative luminance 0.036; OKLCH L 34.4% C 0.105 H 315.5°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#4D245D
RGBrgb(77, 36, 93)
HSLhsl(283, 44%, 25%)
HSVhsv(283, 61%, 36%)
CMYKcmyk(17.2%, 61.3%, 0%, 63.5%)
CIE-LABlab(22.41, 29.78, -26.23)
CIE-LCHlch(22.41, 39.68, 318.62°)
OKLaboklab(34.37% 0.0746 -0.0733)
OKLCHoklch(34.37% 0.105 315.5)
XYZxyz(5.6669, 3.6300, 10.7560)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D245D #345D24
analogous
#30245D #4D245D #5D2450
triadic
#4D245D #5D4D24 #245D4D
tetradic
#4D245D #5D3024 #345D24 #24505D
square
#4D245D #5D3024 #345D24 #24505D
split-complementary
#4D245D #505D24 #245D30
monochromatic
#120916 #281331 #4D245D #723589 #9646B5

Accessibility & contrast

On white

12.17
#4D245D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#4D245D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D245D
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D245D#FFFFFF#000000##FFFFFF
##4D245D1.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15335F
Deuteranopia (green-blind)
#24375C
Tritanopia (blue-blind)
#4C2D3C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4d245d;
/* rgb */ color: rgb(77, 36, 93);
/* oklch */ color: oklch(34.4% 0.105 315.5);
Tailwind
colors: {
  custom: {
    50: '#81618b',
    500: '#4d245d',
    950: '#000000',
  },
}
SCSS
$custom: #4d245d;
$custom-light: #81618b;
$custom-dark: #000000;
JSON
{
  "hex": "#4d245d",
  "rgb": {
    "r": 77,
    "g": 36,
    "b": 93
  },
  "hsl": {
    "h": 283.158,
    "s": 44.186,
    "l": 25.294
  },
  "oklch": {
    "l": 0.34373,
    "c": 0.10462,
    "h": 315.5
  },
  "luminance": 0.0363
}

Semantic roles & 50–950 ramp

primary
#4D245D
secondary
#5F914C
accent
#D45478
background
#F8F5F8
surface
#EFEAF0
border
#CAC6CB
text
#0A050C
muted
#7C797D

Preview Lab

Preview with #4D245D

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

Preview Lab → · Contrast checker → · Palette generator →

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