#3D1147#3D1147

#3D1147 is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.8% C 0.103 H 319.6°. Best body text is #FFFFFF at 15.33:1 contrast (WCAG AA passes).

Color values

HEX#3D1147
RGBrgb(61, 17, 71)
HSLhsl(289, 61%, 17%)
HSVhsv(289, 76%, 28%)
CMYKcmyk(14.1%, 76.1%, 0%, 72.2%)
CIE-LABlab(14.67, 30.29, -23.84)
CIE-LCHlch(14.67, 38.55, 321.80°)
OKLaboklab(27.76% 0.0785 -0.0667)
OKLCHoklch(27.76% 0.103 319.6)
XYZxyz(3.2621, 1.8481, 6.1449)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1147 #1B4711
analogous
#221147 #3D1147 #471136
triadic
#3D1147 #473D11 #11473D
tetradic
#3D1147 #472211 #1B4711 #113647
square
#3D1147 #472211 #1B4711 #113647
split-complementary
#3D1147 #364711 #114722
monochromatic
#150619 #150619 #3D1147 #671D78 #9229AA

Accessibility & contrast

On white

15.33
#3D1147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#3D1147 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1147
15.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1147#FFFFFF#000000##FFFFFF
##3D11471.0015.331.3715.33
#FFFFFF15.331.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002249
Deuteranopia (green-blind)
#152646
Tritanopia (blue-blind)
#3D1B2A
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3d1147;
/* rgb */ color: rgb(61, 17, 71);
/* oklch */ color: oklch(27.8% 0.103 319.6);
Tailwind
colors: {
  custom: {
    50: '#75537a',
    500: '#3d1147',
    950: '#000000',
  },
}
SCSS
$custom: #3d1147;
$custom-light: #75537a;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1147",
  "rgb": {
    "r": 61,
    "g": 17,
    "b": 71
  },
  "hsl": {
    "h": 288.889,
    "s": 61.364,
    "l": 17.255
  },
  "oklch": {
    "l": 0.27758,
    "c": 0.10299,
    "h": 319.6
  },
  "luminance": 0.01848
}

Semantic roles & 50–950 ramp

primary
#3D1147
secondary
#428133
accent
#E44361
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080309
muted
#7B787B

Preview Lab

Preview with #3D1147

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

Preview Lab → · Contrast checker → · Palette generator →

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