#3D0646#3D0646

#3D0646 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.6% C 0.116 H 321.4°. Best body text is #FFFFFF at 15.99:1 contrast (WCAG AA passes).

Color values

HEX#3D0646
RGBrgb(61, 6, 70)
HSLhsl(292, 84%, 15%)
HSVhsv(292, 91%, 27%)
CMYKcmyk(12.9%, 91.4%, 0%, 72.5%)
CIE-LABlab(13.01, 34.61, -25.80)
CIE-LCHlch(13.01, 43.16, 323.30°)
OKLaboklab(26.56% 0.0906 -0.0724)
OKLCHoklch(26.56% 0.116 321.4)
XYZxyz(3.0950, 1.5647, 5.9322)
Luminance0.0157 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0646 #0F4606
analogous
#1D0646 #3D0646 #46062F
triadic
#3D0646 #463D06 #06463D
tetradic
#3D0646 #461D06 #0F4606 #062F46
square
#3D0646 #461D06 #0F4606 #062F46
split-complementary
#3D0646 #2F4606 #06461D
monochromatic
#19021C #19021C #3D0646 #6E0B7E #9F10B7

Accessibility & contrast

On white

15.99
#3D0646 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D0646
15.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0646#FFFFFF#000000##FFFFFF
##3D06461.0015.991.3115.99
#FFFFFF15.991.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E48
Deuteranopia (green-blind)
#0F2345
Tritanopia (blue-blind)
#3E1427
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3d0646;
/* rgb */ color: rgb(61, 6, 70);
/* oklch */ color: oklch(26.6% 0.116 321.4);
Tailwind
colors: {
  custom: {
    50: '#754e7a',
    500: '#3d0646',
    950: '#000000',
  },
}
SCSS
$custom: #3d0646;
$custom-light: #754e7a;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0646",
  "rgb": {
    "r": 61,
    "g": 6,
    "b": 70
  },
  "hsl": {
    "h": 291.563,
    "s": 84.211,
    "l": 14.902
  },
  "oklch": {
    "l": 0.26558,
    "c": 0.11596,
    "h": 321.4
  },
  "luminance": 0.01565
}

Semantic roles & 50–950 ramp

primary
#3D0646
secondary
#308522
accent
#FA2D4A
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090209
muted
#7B787B

Preview Lab

Preview with #3D0646

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

Preview Lab → · Contrast checker → · Palette generator →

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