#3D0642#3D0642

#3D0642 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.2% C 0.112 H 324.3°. Best body text is #FFFFFF at 16.11:1 contrast (WCAG AA passes).

Color values

HEX#3D0642
RGBrgb(61, 6, 66)
HSLhsl(295, 83%, 14%)
HSVhsv(295, 91%, 26%)
CMYKcmyk(7.6%, 90.9%, 0%, 74.1%)
CIE-LABlab(12.71, 33.79, -23.48)
CIE-LCHlch(12.71, 41.15, 325.21°)
OKLaboklab(26.25% 0.0912 -0.0656)
OKLCHoklch(26.25% 0.112 324.3)
XYZxyz(2.9729, 1.5159, 5.2892)
Luminance0.0152 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0642 #0B4206
analogous
#1F0642 #3D0642 #420629
triadic
#3D0642 #423D06 #06423D
tetradic
#3D0642 #421F06 #0B4206 #062942
square
#3D0642 #421F06 #0B4206 #062942
split-complementary
#3D0642 #294206 #06421F
monochromatic
#1A031C #1A031C #3D0642 #710B7A #A510B2

Accessibility & contrast

On white

16.11
#3D0642 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#3D0642 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D0642
16.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0642#FFFFFF#000000##FFFFFF
##3D06421.0016.111.3016.11
#FFFFFF16.111.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D44
Deuteranopia (green-blind)
#132341
Tritanopia (blue-blind)
#3E1224
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #3d0642;
/* rgb */ color: rgb(61, 6, 66);
/* oklch */ color: oklch(26.2% 0.112 324.3);
Tailwind
colors: {
  custom: {
    50: '#754e77',
    500: '#3d0642',
    950: '#000000',
  },
}
SCSS
$custom: #3d0642;
$custom-light: #754e77;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0642",
  "rgb": {
    "r": 61,
    "g": 6,
    "b": 66
  },
  "hsl": {
    "h": 295,
    "s": 83.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.26246,
    "c": 0.11232,
    "h": 324.3
  },
  "luminance": 0.01516
}

Semantic roles & 50–950 ramp

primary
#3D0642
secondary
#2A8222
accent
#FA2E3F
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #3D0642

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

Preview Lab → · Contrast checker → · Palette generator →

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