#3D1241#3D1241

#3D1241 is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.5% C 0.095 H 324.2°. Best body text is #FFFFFF at 15.43:1 contrast (WCAG AA passes).

Color values

HEX#3D1241
RGBrgb(61, 18, 65)
HSLhsl(295, 57%, 16%)
HSVhsv(295, 72%, 25%)
CMYKcmyk(6.2%, 72.3%, 0%, 74.5%)
CIE-LABlab(14.44, 28.47, -20.02)
CIE-LCHlch(14.44, 34.80, 324.89°)
OKLaboklab(27.46% 0.0772 -0.0556)
OKLCHoklch(27.46% 0.095 324.2)
XYZxyz(3.0948, 1.8065, 5.1857)
Luminance0.0181 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1241 #164112
analogous
#261241 #3D1241 #41122E
triadic
#3D1241 #413D12 #12413D
tetradic
#3D1241 #412612 #164112 #122E41
square
#3D1241 #412612 #164112 #122E41
split-complementary
#3D1241 #2E4112 #124126
monochromatic
#160718 #160718 #3D1241 #6A1F71 #972DA1

Accessibility & contrast

On white

15.43
#3D1241 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#3D1241 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1241
15.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1241#FFFFFF#000000##FFFFFF
##3D12411.0015.431.3615.43
#FFFFFF15.431.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092142
Deuteranopia (green-blind)
#1A2640
Tritanopia (blue-blind)
#3E1927
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3d1241;
/* rgb */ color: rgb(61, 18, 65);
/* oklch */ color: oklch(27.5% 0.095 324.2);
Tailwind
colors: {
  custom: {
    50: '#745476',
    500: '#3d1241',
    950: '#000000',
  },
}
SCSS
$custom: #3d1241;
$custom-light: #745476;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1241",
  "rgb": {
    "r": 61,
    "g": 18,
    "b": 65
  },
  "hsl": {
    "h": 294.894,
    "s": 56.627,
    "l": 16.275
  },
  "oklch": {
    "l": 0.2746,
    "c": 0.0951,
    "h": 324.2
  },
  "luminance": 0.01806
}

Semantic roles & 50–950 ramp

primary
#3D1241
secondary
#3B7A35
accent
#E04855
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080308
muted
#7B787B

Preview Lab

Preview with #3D1241

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

Preview Lab → · Contrast checker → · Palette generator →

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