#3D1242#3D1242

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

Color values

HEX#3D1242
RGBrgb(61, 18, 66)
HSLhsl(294, 57%, 16%)
HSVhsv(294, 73%, 26%)
CMYKcmyk(7.6%, 72.7%, 0%, 74.1%)
CIE-LABlab(14.50, 28.69, -20.61)
CIE-LCHlch(14.50, 35.33, 324.30°)
OKLaboklab(27.53% 0.0772 -0.0573)
OKLCHoklch(27.53% 0.096 323.4)
XYZxyz(3.1241, 1.8182, 5.3396)
Luminance0.0182 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1242 #174212
analogous
#251242 #3D1242 #42122F
triadic
#3D1242 #423D12 #12423D
tetradic
#3D1242 #422512 #174212 #122F42
square
#3D1242 #422512 #174212 #122F42
split-complementary
#3D1242 #2F4212 #124225
monochromatic
#160718 #160718 #3D1242 #691F72 #962CA2

Accessibility & contrast

On white

15.40
#3D1242 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D1242
15.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1242#FFFFFF#000000##FFFFFF
##3D12421.0015.401.3615.40
#FFFFFF15.401.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082143
Deuteranopia (green-blind)
#192641
Tritanopia (blue-blind)
#3E1928
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3d1242;
/* rgb */ color: rgb(61, 18, 66);
/* oklch */ color: oklch(27.5% 0.096 323.4);
Tailwind
colors: {
  custom: {
    50: '#745476',
    500: '#3d1242',
    950: '#000000',
  },
}
SCSS
$custom: #3d1242;
$custom-light: #745476;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1242",
  "rgb": {
    "r": 61,
    "g": 18,
    "b": 66
  },
  "hsl": {
    "h": 293.75,
    "s": 57.143,
    "l": 16.471
  },
  "oklch": {
    "l": 0.27528,
    "c": 0.09615,
    "h": 323.4
  },
  "luminance": 0.01818
}

Semantic roles & 50–950 ramp

primary
#3D1242
secondary
#3C7B35
accent
#E04757
background
#F7F4F7
surface
#EDE8ED
border
#C8C4C8
text
#080308
muted
#7B787B

Preview Lab

Preview with #3D1242

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

Preview Lab → · Contrast checker → · Palette generator →

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