#3D0746#3D0746

#3D0746 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.7% C 0.115 H 321.3°. Best body text is #FFFFFF at 15.94:1 contrast (WCAG AA passes).

Color values

HEX#3D0746
RGBrgb(61, 7, 70)
HSLhsl(291, 82%, 15%)
HSVhsv(291, 90%, 27%)
CMYKcmyk(12.9%, 90%, 0%, 72.5%)
CIE-LABlab(13.15, 34.22, -25.58)
CIE-LCHlch(13.15, 42.72, 323.22°)
OKLaboklab(26.65% 0.0896 -0.0717)
OKLCHoklch(26.65% 0.115 321.3)
XYZxyz(3.1058, 1.5864, 5.9358)
Luminance0.0159 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0746 #104607
analogous
#1E0746 #3D0746 #46072F
triadic
#3D0746 #463D07 #07463D
tetradic
#3D0746 #461E07 #104607 #072F46
square
#3D0746 #461E07 #104607 #072F46
split-complementary
#3D0746 #2F4607 #07461E
monochromatic
#18031C #18031C #3D0746 #6D0D7E #9E12B5

Accessibility & contrast

On white

15.94
#3D0746 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#3D0746 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D0746
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0746#FFFFFF#000000##FFFFFF
##3D07461.0015.941.3215.94
#FFFFFF15.941.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E48
Deuteranopia (green-blind)
#102445
Tritanopia (blue-blind)
#3E1527
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3d0746;
/* rgb */ color: rgb(61, 7, 70);
/* oklch */ color: oklch(26.7% 0.115 321.3);
Tailwind
colors: {
  custom: {
    50: '#754f7a',
    500: '#3d0746',
    950: '#000000',
  },
}
SCSS
$custom: #3d0746;
$custom-light: #754f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0746",
  "rgb": {
    "r": 61,
    "g": 7,
    "b": 70
  },
  "hsl": {
    "h": 291.429,
    "s": 81.818,
    "l": 15.098
  },
  "oklch": {
    "l": 0.26652,
    "c": 0.11476,
    "h": 321.3
  },
  "luminance": 0.01586
}

Semantic roles & 50–950 ramp

primary
#3D0746
secondary
#328524
accent
#F8304C
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090209
muted
#7B787B

Preview Lab

Preview with #3D0746

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

Preview Lab → · Contrast checker → · Palette generator →

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