#3D0A46#3D0A46

#3D0A46 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 26.9% C 0.111 H 321.1°. Best body text is #FFFFFF at 15.79:1 contrast (WCAG AA passes).

Color values

HEX#3D0A46
RGBrgb(61, 10, 70)
HSLhsl(291, 75%, 16%)
HSVhsv(291, 86%, 27%)
CMYKcmyk(12.9%, 85.7%, 0%, 72.5%)
CIE-LABlab(13.54, 33.08, -24.95)
CIE-LCHlch(13.54, 41.43, 322.97°)
OKLaboklab(26.93% 0.0865 -0.0699)
OKLCHoklch(26.93% 0.111 321.1)
XYZxyz(3.1384, 1.6516, 5.9466)
Luminance0.0165 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0A46 #13460A
analogous
#1F0A46 #3D0A46 #460A31
triadic
#3D0A46 #463D0A #0A463D
tetradic
#3D0A46 #461F0A #13460A #0A3146
square
#3D0A46 #461F0A #13460A #0A3146
split-complementary
#3D0A46 #31460A #0A461F
monochromatic
#17041B #17041B #3D0A46 #6C127C #9A19B1

Accessibility & contrast

On white

15.79
#3D0A46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#3D0A46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D0A46
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0A46#FFFFFF#000000##FFFFFF
##3D0A461.0015.791.3315.79
#FFFFFF15.791.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F48
Deuteranopia (green-blind)
#112445
Tritanopia (blue-blind)
#3D1628
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3d0a46;
/* rgb */ color: rgb(61, 10, 70);
/* oklch */ color: oklch(26.9% 0.111 321.1);
Tailwind
colors: {
  custom: {
    50: '#75507a',
    500: '#3d0a46',
    950: '#000000',
  },
}
SCSS
$custom: #3d0a46;
$custom-light: #75507a;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0a46",
  "rgb": {
    "r": 61,
    "g": 10,
    "b": 70
  },
  "hsl": {
    "h": 291,
    "s": 75,
    "l": 15.686
  },
  "oklch": {
    "l": 0.2693,
    "c": 0.11124,
    "h": 321.1
  },
  "luminance": 0.01651
}

Semantic roles & 50–950 ramp

primary
#3D0A46
secondary
#368329
accent
#F23652
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090209
muted
#7B787B

Preview Lab

Preview with #3D0A46

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

Preview Lab → · Contrast checker → · Palette generator →

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