#3D1342#3D1342

#3D1342 is a dark, moderate purple. Relative luminance 0.019; OKLCH L 27.7% C 0.095 H 323.3°. Best body text is #FFFFFF at 15.33:1 contrast (WCAG AA passes).

Color values

HEX#3D1342
RGBrgb(61, 19, 66)
HSLhsl(294, 55%, 17%)
HSVhsv(294, 71%, 26%)
CMYKcmyk(7.6%, 71.2%, 0%, 74.1%)
CIE-LABlab(14.69, 28.17, -20.32)
CIE-LCHlch(14.69, 34.74, 324.20°)
OKLaboklab(27.66% 0.0758 -0.0565)
OKLCHoklch(27.66% 0.095 323.3)
XYZxyz(3.1406, 1.8514, 5.3451)
Luminance0.0185 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1342 #184213
analogous
#261342 #3D1342 #421330
triadic
#3D1342 #423D13 #13423D
tetradic
#3D1342 #422613 #184213 #133042
square
#3D1342 #422613 #184213 #133042
split-complementary
#3D1342 #304213 #134226
monochromatic
#160718 #160718 #3D1342 #692172 #952EA1

Accessibility & contrast

On white

15.33
#3D1342 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#3D1342 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1342
15.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1342#FFFFFF#000000##FFFFFF
##3D13421.0015.331.3715.33
#FFFFFF15.331.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092243
Deuteranopia (green-blind)
#1A2741
Tritanopia (blue-blind)
#3E1A28
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3d1342;
/* rgb */ color: rgb(61, 19, 66);
/* oklch */ color: oklch(27.7% 0.095 323.3);
Tailwind
colors: {
  custom: {
    50: '#745476',
    500: '#3d1342',
    950: '#000000',
  },
}
SCSS
$custom: #3d1342;
$custom-light: #745476;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1342",
  "rgb": {
    "r": 61,
    "g": 19,
    "b": 66
  },
  "hsl": {
    "h": 293.617,
    "s": 55.294,
    "l": 16.667
  },
  "oklch": {
    "l": 0.27661,
    "c": 0.09453,
    "h": 323.3
  },
  "luminance": 0.01851
}

Semantic roles & 50–950 ramp

primary
#3D1342
secondary
#3D7B36
accent
#DF4959
background
#F7F5F7
surface
#EDE8ED
border
#C8C4C8
text
#080308
muted
#7B787B

Preview Lab

Preview with #3D1342

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

Preview Lab → · Contrast checker → · Palette generator →

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