#3D0A47#3D0A47

#3D0A47 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.0% C 0.112 H 320.4°. Best body text is #FFFFFF at 15.76:1 contrast (WCAG AA passes).

Color values

HEX#3D0A47
RGBrgb(61, 10, 71)
HSLhsl(290, 75%, 16%)
HSVhsv(290, 86%, 28%)
CMYKcmyk(14.1%, 85.9%, 0%, 72.2%)
CIE-LABlab(13.62, 33.29, -25.52)
CIE-LCHlch(13.62, 41.95, 322.52°)
OKLaboklab(27.01% 0.0864 -0.0716)
OKLCHoklch(27.01% 0.112 320.4)
XYZxyz(3.1702, 1.6643, 6.1143)
Luminance0.0166 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0A47 #14470A
analogous
#1E0A47 #3D0A47 #470A32
triadic
#3D0A47 #473D0A #0A473D
tetradic
#3D0A47 #471E0A #14470A #0A3247
square
#3D0A47 #471E0A #14470A #0A3247
split-complementary
#3D0A47 #32470A #0A471E
monochromatic
#17041B #17041B #3D0A47 #6B127D #9919B2

Accessibility & contrast

On white

15.76
#3D0A47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D0A47
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0A47#FFFFFF#000000##FFFFFF
##3D0A471.0015.761.3315.76
#FFFFFF15.761.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F49
Deuteranopia (green-blind)
#102546
Tritanopia (blue-blind)
#3D1728
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3d0a47;
/* rgb */ color: rgb(61, 10, 71);
/* oklch */ color: oklch(27.0% 0.112 320.4);
Tailwind
colors: {
  custom: {
    50: '#75507a',
    500: '#3d0a47',
    950: '#000000',
  },
}
SCSS
$custom: #3d0a47;
$custom-light: #75507a;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0a47",
  "rgb": {
    "r": 61,
    "g": 10,
    "b": 71
  },
  "hsl": {
    "h": 290.164,
    "s": 75.309,
    "l": 15.882
  },
  "oklch": {
    "l": 0.27008,
    "c": 0.11221,
    "h": 320.4
  },
  "luminance": 0.01664
}

Semantic roles & 50–950 ramp

primary
#3D0A47
secondary
#388429
accent
#F23655
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090209
muted
#7B787B

Preview Lab

Preview with #3D0A47

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

Preview Lab → · Contrast checker → · Palette generator →

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