#3D0C41#3D0C41

#3D0C41 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.8% C 0.104 H 324.7°. Best body text is #FFFFFF at 15.82:1 contrast (WCAG AA passes).

Color values

HEX#3D0C41
RGBrgb(61, 12, 65)
HSLhsl(295, 69%, 15%)
HSVhsv(295, 82%, 25%)
CMYKcmyk(6.2%, 81.5%, 0%, 74.5%)
CIE-LABlab(13.45, 31.24, -21.58)
CIE-LCHlch(13.45, 37.97, 325.36°)
OKLaboklab(26.75% 0.0848 -0.0601)
OKLCHoklch(26.75% 0.104 324.7)
XYZxyz(3.0100, 1.6369, 5.1574)
Luminance0.0164 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0C41 #10410C
analogous
#230C41 #3D0C41 #410C2A
triadic
#3D0C41 #413D0C #0C413D
tetradic
#3D0C41 #41230C #10410C #0C2A41
square
#3D0C41 #41230C #10410C #0C2A41
split-complementary
#3D0C41 #2A410C #0C4123
monochromatic
#18051A #18051A #3D0C41 #6D1675 #9E1FA8

Accessibility & contrast

On white

15.82
#3D0C41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#3D0C41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D0C41
15.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0C41#FFFFFF#000000##FFFFFF
##3D0C411.0015.821.3315.82
#FFFFFF15.821.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F42
Deuteranopia (green-blind)
#162440
Tritanopia (blue-blind)
#3E1525
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3d0c41;
/* rgb */ color: rgb(61, 12, 65);
/* oklch */ color: oklch(26.8% 0.104 324.7);
Tailwind
colors: {
  custom: {
    50: '#755176',
    500: '#3d0c41',
    950: '#000000',
  },
}
SCSS
$custom: #3d0c41;
$custom-light: #755176;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0c41",
  "rgb": {
    "r": 61,
    "g": 12,
    "b": 65
  },
  "hsl": {
    "h": 295.472,
    "s": 68.831,
    "l": 15.098
  },
  "oklch": {
    "l": 0.26752,
    "c": 0.10393,
    "h": 324.7
  },
  "luminance": 0.01637
}

Semantic roles & 50–950 ramp

primary
#3D0C41
secondary
#327D2C
accent
#EC3C49
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #3D0C41

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

Preview Lab → · Contrast checker → · Palette generator →

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