#3D0846#3D0846

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

Color values

HEX#3D0846
RGBrgb(61, 8, 70)
HSLhsl(291, 79%, 15%)
HSVhsv(291, 89%, 27%)
CMYKcmyk(12.9%, 88.6%, 0%, 72.5%)
CIE-LABlab(13.28, 33.83, -25.37)
CIE-LCHlch(13.28, 42.29, 323.14°)
OKLaboklab(26.75% 0.0886 -0.0711)
OKLCHoklch(26.75% 0.114 321.2)
XYZxyz(3.1167, 1.6081, 5.9394)
Luminance0.0161 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0846 #114608
analogous
#1E0846 #3D0846 #460830
triadic
#3D0846 #463D08 #08463D
tetradic
#3D0846 #461E08 #114608 #083046
square
#3D0846 #461E08 #114608 #083046
split-complementary
#3D0846 #304608 #08461E
monochromatic
#18031B #18031B #3D0846 #6D0E7D #9D15B4

Accessibility & contrast

On white

15.89
#3D0846 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D0846
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0846#FFFFFF#000000##FFFFFF
##3D08461.0015.891.3215.89
#FFFFFF15.891.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.891.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: #3d0846;
/* rgb */ color: rgb(61, 8, 70);
/* oklch */ color: oklch(26.7% 0.114 321.2);
Tailwind
colors: {
  custom: {
    50: '#754f7a',
    500: '#3d0846',
    950: '#000000',
  },
}
SCSS
$custom: #3d0846;
$custom-light: #754f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0846",
  "rgb": {
    "r": 61,
    "g": 8,
    "b": 70
  },
  "hsl": {
    "h": 291.29,
    "s": 79.487,
    "l": 15.294
  },
  "oklch": {
    "l": 0.26746,
    "c": 0.11358,
    "h": 321.2
  },
  "luminance": 0.01608
}

Semantic roles & 50–950 ramp

primary
#3D0846
secondary
#338426
accent
#F6324E
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090209
muted
#7B787B

Preview Lab

Preview with #3D0846

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

Preview Lab → · Contrast checker → · Palette generator →

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