#3D1247#3D1247

#3D1247 is a dark, moderate purple. Relative luminance 0.019; OKLCH L 27.9% C 0.101 H 319.5°. Best body text is #FFFFFF at 15.26:1 contrast (WCAG AA passes).

Color values

HEX#3D1247
RGBrgb(61, 18, 71)
HSLhsl(289, 60%, 17%)
HSVhsv(289, 75%, 28%)
CMYKcmyk(14.1%, 74.6%, 0%, 72.2%)
CIE-LABlab(14.84, 29.81, -23.56)
CIE-LCHlch(14.84, 37.99, 321.68°)
OKLaboklab(27.88% 0.0772 -0.0659)
OKLCHoklch(27.88% 0.101 319.5)
XYZxyz(3.2780, 1.8798, 6.1502)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1247 #1C4712
analogous
#221247 #3D1247 #471237
triadic
#3D1247 #473D12 #12473D
tetradic
#3D1247 #472212 #1C4712 #123747
square
#3D1247 #472212 #1C4712 #123747
split-complementary
#3D1247 #374712 #124722
monochromatic
#150618 #150618 #3D1247 #671E78 #912BA9

Accessibility & contrast

On white

15.26
#3D1247 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#3D1247 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1247
15.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1247#FFFFFF#000000##FFFFFF
##3D12471.0015.261.3815.26
#FFFFFF15.261.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022249
Deuteranopia (green-blind)
#162746
Tritanopia (blue-blind)
#3D1B2A
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3d1247;
/* rgb */ color: rgb(61, 18, 71);
/* oklch */ color: oklch(27.9% 0.101 319.5);
Tailwind
colors: {
  custom: {
    50: '#75547a',
    500: '#3d1247',
    950: '#000000',
  },
}
SCSS
$custom: #3d1247;
$custom-light: #75547a;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1247",
  "rgb": {
    "r": 61,
    "g": 18,
    "b": 71
  },
  "hsl": {
    "h": 288.679,
    "s": 59.551,
    "l": 17.451
  },
  "oklch": {
    "l": 0.27883,
    "c": 0.10149,
    "h": 319.5
  },
  "luminance": 0.0188
}

Semantic roles & 50–950 ramp

primary
#3D1247
secondary
#438035
accent
#E34563
background
#F7F4F7
surface
#EDE8ED
border
#C8C4C8
text
#080309
muted
#7B787B

Preview Lab

Preview with #3D1247

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

Preview Lab → · Contrast checker → · Palette generator →

#3D1247 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva