#3D1142#3D1142

#3D1142 is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.4% C 0.098 H 323.5°. Best body text is #FFFFFF at 15.47:1 contrast (WCAG AA passes).

Color values

HEX#3D1142
RGBrgb(61, 17, 66)
HSLhsl(294, 59%, 16%)
HSVhsv(294, 74%, 26%)
CMYKcmyk(7.6%, 74.2%, 0%, 74.1%)
CIE-LABlab(14.32, 29.18, -20.90)
CIE-LCHlch(14.32, 35.89, 324.39°)
OKLaboklab(27.4% 0.0786 -0.0581)
OKLCHoklch(27.4% 0.098 323.5)
XYZxyz(3.1082, 1.7865, 5.3343)
Luminance0.0179 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1142 #164211
analogous
#251142 #3D1142 #42112F
triadic
#3D1142 #423D11 #11423D
tetradic
#3D1142 #422511 #164211 #112F42
square
#3D1142 #422511 #164211 #112F42
split-complementary
#3D1142 #2F4211 #114225
monochromatic
#160618 #160618 #3D1142 #6A1E73 #972AA3

Accessibility & contrast

On white

15.47
#3D1142 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D1142
15.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1142#FFFFFF#000000##FFFFFF
##3D11421.0015.471.3615.47
#FFFFFF15.471.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062143
Deuteranopia (green-blind)
#192641
Tritanopia (blue-blind)
#3E1927
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3d1142;
/* rgb */ color: rgb(61, 17, 66);
/* oklch */ color: oklch(27.4% 0.098 323.5);
Tailwind
colors: {
  custom: {
    50: '#745376',
    500: '#3d1142',
    950: '#000000',
  },
}
SCSS
$custom: #3d1142;
$custom-light: #745376;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1142",
  "rgb": {
    "r": 61,
    "g": 17,
    "b": 66
  },
  "hsl": {
    "h": 293.878,
    "s": 59.036,
    "l": 16.275
  },
  "oklch": {
    "l": 0.27399,
    "c": 0.09773,
    "h": 323.5
  },
  "luminance": 0.01786
}

Semantic roles & 50–950 ramp

primary
#3D1142
secondary
#3B7C33
accent
#E24656
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080308
muted
#7B787B

Preview Lab

Preview with #3D1142

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

Preview Lab → · Contrast checker → · Palette generator →

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