#3D0742#3D0742

#3D0742 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.3% C 0.111 H 324.2°. Best body text is #FFFFFF at 16.06:1 contrast (WCAG AA passes).

Color values

HEX#3D0742
RGBrgb(61, 7, 66)
HSLhsl(295, 81%, 14%)
HSVhsv(295, 89%, 26%)
CMYKcmyk(7.6%, 89.4%, 0%, 74.1%)
CIE-LABlab(12.85, 33.40, -23.26)
CIE-LCHlch(12.85, 40.70, 325.14°)
OKLaboklab(26.34% 0.0901 -0.0649)
OKLCHoklch(26.34% 0.111 324.2)
XYZxyz(2.9837, 1.5376, 5.2928)
Luminance0.0154 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0742 #0C4207
analogous
#200742 #3D0742 #42072A
triadic
#3D0742 #423D07 #07423D
tetradic
#3D0742 #422007 #0C4207 #072A42
square
#3D0742 #422007 #0C4207 #072A42
split-complementary
#3D0742 #2A4207 #074220
monochromatic
#1A031C #1A031C #3D0742 #700D79 #A313B1

Accessibility & contrast

On white

16.06
#3D0742 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D0742
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0742#FFFFFF#000000##FFFFFF
##3D07421.0016.061.3116.06
#FFFFFF16.061.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3d0742;
/* rgb */ color: rgb(61, 7, 66);
/* oklch */ color: oklch(26.3% 0.111 324.2);
Tailwind
colors: {
  custom: {
    50: '#754f77',
    500: '#3d0742',
    950: '#000000',
  },
}
SCSS
$custom: #3d0742;
$custom-light: #754f77;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0742",
  "rgb": {
    "r": 61,
    "g": 7,
    "b": 66
  },
  "hsl": {
    "h": 294.915,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.26343,
    "c": 0.11107,
    "h": 324.2
  },
  "luminance": 0.01537
}

Semantic roles & 50–950 ramp

primary
#3D0742
secondary
#2C8124
accent
#F73141
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #3D0742

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

Preview Lab → · Contrast checker → · Palette generator →

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