#3D1042#3D1042

#3D1042 is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.3% C 0.099 H 323.6°. Best body text is #FFFFFF at 15.54:1 contrast (WCAG AA passes).

Color values

HEX#3D1042
RGBrgb(61, 16, 66)
HSLhsl(294, 61%, 16%)
HSVhsv(294, 76%, 26%)
CMYKcmyk(7.6%, 75.8%, 0%, 74.1%)
CIE-LABlab(14.15, 29.67, -21.17)
CIE-LCHlch(14.15, 36.45, 324.48°)
OKLaboklab(27.28% 0.0799 -0.0589)
OKLCHoklch(27.28% 0.099 323.6)
XYZxyz(3.0930, 1.7562, 5.3293)
Luminance0.0176 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1042 #154210
analogous
#241042 #3D1042 #42102E
triadic
#3D1042 #423D10 #10423D
tetradic
#3D1042 #422410 #154210 #102E42
square
#3D1042 #422410 #154210 #102E42
split-complementary
#3D1042 #2E4210 #104224
monochromatic
#170619 #170619 #3D1042 #6B1C73 #9828A5

Accessibility & contrast

On white

15.54
#3D1042 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#3D1042 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1042
15.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1042#FFFFFF#000000##FFFFFF
##3D10421.0015.541.3515.54
#FFFFFF15.541.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052043
Deuteranopia (green-blind)
#182641
Tritanopia (blue-blind)
#3E1827
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3d1042;
/* rgb */ color: rgb(61, 16, 66);
/* oklch */ color: oklch(27.3% 0.099 323.6);
Tailwind
colors: {
  custom: {
    50: '#755376',
    500: '#3d1042',
    950: '#000000',
  },
}
SCSS
$custom: #3d1042;
$custom-light: #755376;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1042",
  "rgb": {
    "r": 61,
    "g": 16,
    "b": 66
  },
  "hsl": {
    "h": 294,
    "s": 60.976,
    "l": 16.078
  },
  "oklch": {
    "l": 0.27275,
    "c": 0.09927,
    "h": 323.6
  },
  "luminance": 0.01756
}

Semantic roles & 50–950 ramp

primary
#3D1042
secondary
#397C32
accent
#E44454
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #3D1042

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

Preview Lab → · Contrast checker → · Palette generator →

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