#3D0A36#3D0A36

#3D0A36 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 25.8% C 0.096 H 334.2°. Best body text is #FFFFFF at 16.21:1 contrast (WCAG AA passes).

Color values

HEX#3D0A36
RGBrgb(61, 10, 54)
HSLhsl(308, 72%, 14%)
HSVhsv(308, 84%, 24%)
CMYKcmyk(0%, 83.6%, 11.5%, 76.1%)
CIE-LABlab(12.45, 29.90, -15.32)
CIE-LCHlch(12.45, 33.60, 332.86°)
OKLaboklab(25.8% 0.0869 -0.0419)
OKLCHoklch(25.8% 0.096 334.2)
XYZxyz(2.6989, 1.4758, 3.6320)
Luminance0.0148 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0A36 #0A3D11
analogous
#2B0A3D #3D0A36 #3D0A1D
triadic
#3D0A36 #363D0A #0A363D
tetradic
#3D0A36 #3D2B0A #0A3D11 #0A1D3D
square
#3D0A36 #3D2B0A #0A3D11 #0A1D3D
split-complementary
#3D0A36 #1D3D0A #0A3D2B
monochromatic
#1A0417 #1A0417 #3D0A36 #721365 #A61B93

Accessibility & contrast

On white

16.21
#3D0A36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D0A36
16.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0A36#FFFFFF#000000##FFFFFF
##3D0A361.0016.211.3016.21
#FFFFFF16.211.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091C37
Deuteranopia (green-blind)
#1C2335
Tritanopia (blue-blind)
#400F1F
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #3d0a36;
/* rgb */ color: rgb(61, 10, 54);
/* oklch */ color: oklch(25.8% 0.096 334.2);
Tailwind
colors: {
  custom: {
    50: '#754f6d',
    500: '#3d0a36',
    950: '#000000',
  },
}
SCSS
$custom: #3d0a36;
$custom-light: #754f6d;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0a36",
  "rgb": {
    "r": 61,
    "g": 10,
    "b": 54
  },
  "hsl": {
    "h": 308.235,
    "s": 71.831,
    "l": 13.922
  },
  "oklch": {
    "l": 0.25803,
    "c": 0.09645,
    "h": 334.2
  },
  "luminance": 0.01476
}

Semantic roles & 50–950 ramp

primary
#3D0A36
secondary
#287A34
accent
#EF5239
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080207
muted
#7B787A

Preview Lab

Preview with #3D0A36

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

Preview Lab → · Contrast checker → · Palette generator →

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