#D41FCC#D41FCC

#D41FCC is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 61.4% C 0.264 H 330.4°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#D41FCC
RGBrgb(212, 31, 204)
HSLhsl(303, 74%, 48%)
HSVhsv(303, 85%, 83%)
CMYKcmyk(0%, 85.4%, 3.8%, 16.9%)
CIE-LABlab(51.08, 80.93, -47.23)
CIE-LCHlch(51.08, 93.70, 329.74°)
OKLaboklab(61.38% 0.2298 -0.1307)
OKLCHoklch(61.38% 0.264 330.4)
XYZxyz(38.5404, 19.3399, 58.8182)
Luminance0.1934 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D41FCC #1FD427
analogous
#821FD4 #D41FCC #D41F71
triadic
#D41FCC #CCD41F #1FCCD4
tetradic
#D41FCC #D4821F #1FD427 #1F71D4
square
#D41FCC #D4821F #1FD427 #1F71D4
split-complementary
#D41FCC #71D41F #1FD482
monochromatic
#690F65 #9F1799 #D41FCC #E54BDE #ED81E8

Accessibility & contrast

On white

4.31
#D41FCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#D41FCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D41FCC
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D41FCC#FFFFFF#000000##000000
##D41FCC1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#006BD0
Deuteranopia (green-blind)
#6082C8
Tritanopia (blue-blind)
#DC3F7A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d41fcc;
/* rgb */ color: rgb(212, 31, 204);
/* oklch */ color: oklch(61.4% 0.264 330.4);
Tailwind
colors: {
  custom: {
    50: '#e676dc',
    500: '#d41fcc',
    950: '#000000',
  },
}
SCSS
$custom: #d41fcc;
$custom-light: #e676dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d41fcc",
  "rgb": {
    "r": 212,
    "g": 31,
    "b": 204
  },
  "hsl": {
    "h": 302.652,
    "s": 74.486,
    "l": 47.647
  },
  "oklch": {
    "l": 0.61377,
    "c": 0.26438,
    "h": 330.4
  },
  "luminance": 0.19337
}

Semantic roles & 50–950 ramp

primary
#D41FCC
secondary
#7AD57E
accent
#F13F37
background
#FEF7FD
surface
#FDEEFB
border
#D5C9D4
text
#170A15
muted
#857C83

Preview Lab

Preview with #D41FCC

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

Preview Lab → · Contrast checker → · Palette generator →

#D41FCC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva