#4D1745#4D1745

#4D1745 is a dark, moderate purple. Relative luminance 0.026; OKLCH L 31.0% C 0.102 H 334.1°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#4D1745
RGBrgb(77, 23, 69)
HSLhsl(309, 54%, 20%)
HSVhsv(309, 70%, 30%)
CMYKcmyk(0%, 70.1%, 10.4%, 69.8%)
CIE-LABlab(18.46, 31.58, -16.28)
CIE-LCHlch(18.46, 35.53, 332.72°)
OKLaboklab(31.03% 0.0914 -0.0444)
OKLCHoklch(31.03% 0.102 334.1)
XYZxyz(4.4412, 2.6206, 5.9010)
Luminance0.0262 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1745 #174D1F
analogous
#3A174D #4D1745 #4D172A
triadic
#4D1745 #454D17 #17454D
tetradic
#4D1745 #4D3A17 #174D1F #172A4D
square
#4D1745 #4D3A17 #174D1F #172A4D
split-complementary
#4D1745 #2A4D17 #174D3A
monochromatic
#180715 #1E091B #4D1745 #7C256F #AB3399

Accessibility & contrast

On white

13.78
#4D1745 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#4D1745 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1745
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1745#FFFFFF#000000##FFFFFF
##4D17451.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162846
Deuteranopia (green-blind)
#283044
Tritanopia (blue-blind)
#511B2B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4d1745;
/* rgb */ color: rgb(77, 23, 69);
/* oklch */ color: oklch(31.0% 0.102 334.1);
Tailwind
colors: {
  custom: {
    50: '#815979',
    500: '#4d1745',
    950: '#000000',
  },
}
SCSS
$custom: #4d1745;
$custom-light: #815979;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1745",
  "rgb": {
    "r": 77,
    "g": 23,
    "b": 69
  },
  "hsl": {
    "h": 308.889,
    "s": 54,
    "l": 19.608
  },
  "oklch": {
    "l": 0.31029,
    "c": 0.10164,
    "h": 334.1
  },
  "luminance": 0.0262
}

Semantic roles & 50–950 ramp

primary
#4D1745
secondary
#3C8446
accent
#DD604A
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0A0409
muted
#7C797B

Preview Lab

Preview with #4D1745

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

Preview Lab → · Contrast checker → · Palette generator →

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