#3D1048#3D1048

#3D1048 is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.7% C 0.106 H 319.0°. Best body text is #FFFFFF at 15.37:1 contrast (WCAG AA passes).

Color values

HEX#3D1048
RGBrgb(61, 16, 72)
HSLhsl(288, 64%, 17%)
HSVhsv(288, 78%, 28%)
CMYKcmyk(15.3%, 77.8%, 0%, 71.8%)
CIE-LABlab(14.57, 31.00, -24.69)
CIE-LCHlch(14.57, 39.63, 321.46°)
OKLaboklab(27.71% 0.0797 -0.0692)
OKLCHoklch(27.71% 0.106 319)
XYZxyz(3.2793, 1.8307, 6.3103)
Luminance0.0183 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1048 #1B4810
analogous
#211048 #3D1048 #481037
triadic
#3D1048 #483D10 #10483D
tetradic
#3D1048 #482110 #1B4810 #103748
square
#3D1048 #482110 #1B4810 #103748
split-complementary
#3D1048 #374810 #104821
monochromatic
#150619 #150619 #3D1048 #671B7A #9226AC

Accessibility & contrast

On white

15.37
#3D1048 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D1048
15.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1048#FFFFFF#000000##FFFFFF
##3D10481.0015.371.3715.37
#FFFFFF15.371.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224A
Deuteranopia (green-blind)
#142647
Tritanopia (blue-blind)
#3D1B2A
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3d1048;
/* rgb */ color: rgb(61, 16, 72);
/* oklch */ color: oklch(27.7% 0.106 319.0);
Tailwind
colors: {
  custom: {
    50: '#75537b',
    500: '#3d1048',
    950: '#000000',
  },
}
SCSS
$custom: #3d1048;
$custom-light: #75537b;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1048",
  "rgb": {
    "r": 61,
    "g": 16,
    "b": 72
  },
  "hsl": {
    "h": 288.214,
    "s": 63.636,
    "l": 17.255
  },
  "oklch": {
    "l": 0.27712,
    "c": 0.10551,
    "h": 319
  },
  "luminance": 0.01831
}

Semantic roles & 50–950 ramp

primary
#3D1048
secondary
#428232
accent
#E74162
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#080309
muted
#7B787B

Preview Lab

Preview with #3D1048

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

Preview Lab → · Contrast checker → · Palette generator →

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