#3D0A42#3D0A42

#3D0A42 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.6% C 0.107 H 324.0°. Best body text is #FFFFFF at 15.90:1 contrast (WCAG AA passes).

Color values

HEX#3D0A42
RGBrgb(61, 10, 66)
HSLhsl(295, 74%, 15%)
HSVhsv(295, 85%, 26%)
CMYKcmyk(7.6%, 84.8%, 0%, 74.1%)
CIE-LABlab(13.25, 32.24, -22.62)
CIE-LCHlch(13.25, 39.38, 324.95°)
OKLaboklab(26.63% 0.0869 -0.0631)
OKLCHoklch(26.63% 0.107 324)
XYZxyz(3.0163, 1.6027, 5.3037)
Luminance0.0160 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0A42 #0F420A
analogous
#210A42 #3D0A42 #420A2B
triadic
#3D0A42 #423D0A #0A423D
tetradic
#3D0A42 #42210A #0F420A #0A2B42
square
#3D0A42 #42210A #0F420A #0A2B42
split-complementary
#3D0A42 #2B420A #0A4221
monochromatic
#19041B #19041B #3D0A42 #6E1277 #9F1AAC

Accessibility & contrast

On white

15.90
#3D0A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D0A42
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0A42#FFFFFF#000000##FFFFFF
##3D0A421.0015.901.3215.90
#FFFFFF15.901.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E44
Deuteranopia (green-blind)
#152441
Tritanopia (blue-blind)
#3E1425
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3d0a42;
/* rgb */ color: rgb(61, 10, 66);
/* oklch */ color: oklch(26.6% 0.107 324.0);
Tailwind
colors: {
  custom: {
    50: '#755077',
    500: '#3d0a42',
    950: '#000000',
  },
}
SCSS
$custom: #3d0a42;
$custom-light: #755077;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0a42",
  "rgb": {
    "r": 61,
    "g": 10,
    "b": 66
  },
  "hsl": {
    "h": 294.643,
    "s": 73.684,
    "l": 14.902
  },
  "oklch": {
    "l": 0.26627,
    "c": 0.1074,
    "h": 324
  },
  "luminance": 0.01603
}

Semantic roles & 50–950 ramp

primary
#3D0A42
secondary
#307F29
accent
#F03748
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #3D0A42

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

Preview Lab → · Contrast checker → · Palette generator →

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