#3D0A3A#3D0A3A

#3D0A3A is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.1% C 0.100 H 330.6°. Best body text is #FFFFFF at 16.12:1 contrast (WCAG AA passes).

Color values

HEX#3D0A3A
RGBrgb(61, 10, 58)
HSLhsl(304, 72%, 14%)
HSVhsv(304, 84%, 24%)
CMYKcmyk(0%, 83.6%, 4.9%, 76.1%)
CIE-LABlab(12.70, 30.64, -17.81)
CIE-LCHlch(12.70, 35.44, 329.84°)
OKLaboklab(26.06% 0.0871 -0.0491)
OKLCHoklch(26.06% 0.1 330.6)
XYZxyz(2.7967, 1.5149, 4.1473)
Luminance0.0152 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0A3A #0A3D0D
analogous
#270A3D #3D0A3A #3D0A21
triadic
#3D0A3A #3A3D0A #0A3A3D
tetradic
#3D0A3A #3D270A #0A3D0D #0A213D
square
#3D0A3A #3D270A #0A3D0D #0A213D
split-complementary
#3D0A3A #213D0A #0A3D27
monochromatic
#1A0419 #1A0419 #3D0A3A #72136C #A61B9E

Accessibility & contrast

On white

16.12
#3D0A3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D0A3A
16.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0A3A#FFFFFF#000000##FFFFFF
##3D0A3A1.0016.121.3016.12
#FFFFFF16.121.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051C3B
Deuteranopia (green-blind)
#1A2339
Tritanopia (blue-blind)
#401121
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #3d0a3a;
/* rgb */ color: rgb(61, 10, 58);
/* oklch */ color: oklch(26.1% 0.100 330.6);
Tailwind
colors: {
  custom: {
    50: '#754f70',
    500: '#3d0a3a',
    950: '#000000',
  },
}
SCSS
$custom: #3d0a3a;
$custom-light: #754f70;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0a3a",
  "rgb": {
    "r": 61,
    "g": 10,
    "b": 58
  },
  "hsl": {
    "h": 303.529,
    "s": 71.831,
    "l": 13.922
  },
  "oklch": {
    "l": 0.26063,
    "c": 0.09998,
    "h": 330.6
  },
  "luminance": 0.01515
}

Semantic roles & 50–950 ramp

primary
#3D0A3A
secondary
#287A2D
accent
#EF4439
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080207
muted
#7B787A

Preview Lab

Preview with #3D0A3A

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

Preview Lab → · Contrast checker → · Palette generator →

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