#3D1741#3D1741

#3D1741 is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.2% C 0.086 H 323.8°. Best body text is #FFFFFF at 15.03:1 contrast (WCAG AA passes).

Color values

HEX#3D1741
RGBrgb(61, 23, 65)
HSLhsl(294, 48%, 17%)
HSVhsv(294, 65%, 25%)
CMYKcmyk(6.2%, 64.6%, 0%, 74.5%)
CIE-LABlab(15.42, 25.78, -18.47)
CIE-LCHlch(15.42, 31.71, 324.38°)
OKLaboklab(28.17% 0.0698 -0.0511)
OKLCHoklch(28.17% 0.086 323.8)
XYZxyz(3.1849, 1.9867, 5.2157)
Luminance0.0199 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1741 #1B4117
analogous
#281741 #3D1741 #411730
triadic
#3D1741 #413D17 #17413D
tetradic
#3D1741 #412817 #1B4117 #173041
square
#3D1741 #412817 #1B4117 #173041
split-complementary
#3D1741 #304117 #174128
monochromatic
#150817 #150817 #3D1741 #67276E #92379B

Accessibility & contrast

On white

15.03
#3D1741 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#3D1741 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1741
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1741#FFFFFF#000000##FFFFFF
##3D17411.0015.031.4015.03
#FFFFFF15.031.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102442
Deuteranopia (green-blind)
#1D2840
Tritanopia (blue-blind)
#3E1D29
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3d1741;
/* rgb */ color: rgb(61, 23, 65);
/* oklch */ color: oklch(28.2% 0.086 323.8);
Tailwind
colors: {
  custom: {
    50: '#745676',
    500: '#3d1741',
    950: '#000000',
  },
}
SCSS
$custom: #3d1741;
$custom-light: #745676;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1741",
  "rgb": {
    "r": 61,
    "g": 23,
    "b": 65
  },
  "hsl": {
    "h": 294.286,
    "s": 47.727,
    "l": 17.255
  },
  "oklch": {
    "l": 0.28172,
    "c": 0.08649,
    "h": 323.8
  },
  "luminance": 0.01987
}

Semantic roles & 50–950 ramp

primary
#3D1741
secondary
#42783C
accent
#D7505D
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#080308
muted
#7B787B

Preview Lab

Preview with #3D1741

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

Preview Lab → · Contrast checker → · Palette generator →

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