#3D0841#3D0841

#3D0841 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.4% C 0.109 H 324.9°. Best body text is #FFFFFF at 16.04:1 contrast (WCAG AA passes).

Color values

HEX#3D0841
RGBrgb(61, 8, 65)
HSLhsl(296, 78%, 14%)
HSVhsv(296, 88%, 25%)
CMYKcmyk(6.2%, 87.7%, 0%, 74.5%)
CIE-LABlab(12.91, 32.80, -22.45)
CIE-LCHlch(12.91, 39.75, 325.61°)
OKLaboklab(26.36% 0.0891 -0.0626)
OKLCHoklch(26.36% 0.109 324.9)
XYZxyz(2.9654, 1.5476, 5.1425)
Luminance0.0155 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0841 #0C4108
analogous
#210841 #3D0841 #410829
triadic
#3D0841 #413D08 #08413D
tetradic
#3D0841 #412108 #0C4108 #082941
square
#3D0841 #412108 #0C4108 #082941
split-complementary
#3D0841 #294108 #084121
monochromatic
#1A031B #1A031B #3D0841 #700F77 #A315AE

Accessibility & contrast

On white

16.04
#3D0841 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#3D0841 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D0841
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0841#FFFFFF#000000##FFFFFF
##3D08411.0016.041.3116.04
#FFFFFF16.041.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D43
Deuteranopia (green-blind)
#142340
Tritanopia (blue-blind)
#3F1324
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #3d0841;
/* rgb */ color: rgb(61, 8, 65);
/* oklch */ color: oklch(26.4% 0.109 324.9);
Tailwind
colors: {
  custom: {
    50: '#754f76',
    500: '#3d0841',
    950: '#000000',
  },
}
SCSS
$custom: #3d0841;
$custom-light: #754f76;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0841",
  "rgb": {
    "r": 61,
    "g": 8,
    "b": 65
  },
  "hsl": {
    "h": 295.789,
    "s": 78.082,
    "l": 14.314
  },
  "oklch": {
    "l": 0.26364,
    "c": 0.10891,
    "h": 324.9
  },
  "luminance": 0.01547
}

Semantic roles & 50–950 ramp

primary
#3D0841
secondary
#2C7F25
accent
#F53341
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #3D0841

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

Preview Lab → · Contrast checker → · Palette generator →

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