#4D1346#4D1346

#4D1346 is a dark, moderate purple. Relative luminance 0.025; OKLCH L 30.6% C 0.109 H 333.1°. Best body text is #FFFFFF at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#4D1346
RGBrgb(77, 19, 70)
HSLhsl(307, 60%, 19%)
HSVhsv(307, 75%, 30%)
CMYKcmyk(0%, 75.3%, 9.1%, 69.8%)
CIE-LABlab(17.86, 33.59, -17.91)
CIE-LCHlch(17.86, 38.07, 331.93°)
OKLaboklab(30.61% 0.0969 -0.0491)
OKLCHoklch(30.61% 0.109 333.1)
XYZxyz(4.3990, 2.4861, 6.0413)
Luminance0.0249 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1346 #134D1A
analogous
#37134D #4D1346 #4D1329
triadic
#4D1346 #464D13 #13464D
tetradic
#4D1346 #4D3713 #134D1A #13294D
square
#4D1346 #4D3713 #134D1A #13294D
split-complementary
#4D1346 #294D13 #134D37
monochromatic
#190616 #1C0719 #4D1346 #7E1F73 #AF2B9F

Accessibility & contrast

On white

14.03
#4D1346 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#4D1346 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1346
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1346#FFFFFF#000000##FFFFFF
##4D13461.0014.031.5014.03
#FFFFFF14.031.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112647
Deuteranopia (green-blind)
#252F45
Tritanopia (blue-blind)
#51182A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4d1346;
/* rgb */ color: rgb(77, 19, 70);
/* oklch */ color: oklch(30.6% 0.109 333.1);
Tailwind
colors: {
  custom: {
    50: '#815779',
    500: '#4d1346',
    950: '#000000',
  },
}
SCSS
$custom: #4d1346;
$custom-light: #815779;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1346",
  "rgb": {
    "r": 77,
    "g": 19,
    "b": 70
  },
  "hsl": {
    "h": 307.241,
    "s": 60.417,
    "l": 18.824
  },
  "oklch": {
    "l": 0.30612,
    "c": 0.1086,
    "h": 333.1
  },
  "luminance": 0.02486
}

Semantic roles & 50–950 ramp

primary
#4D1346
secondary
#368640
accent
#E45744
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4D1346

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

Preview Lab → · Contrast checker → · Palette generator →

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