#3D1648#3D1648

#3D1648 is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.5% C 0.096 H 318.2°. Best body text is #FFFFFF at 14.93:1 contrast (WCAG AA passes).

Color values

HEX#3D1648
RGBrgb(61, 22, 72)
HSLhsl(287, 53%, 18%)
HSVhsv(287, 69%, 28%)
CMYKcmyk(15.3%, 69.4%, 0%, 71.8%)
CIE-LABlab(15.66, 27.95, -22.94)
CIE-LCHlch(15.66, 36.16, 320.62°)
OKLaboklab(28.5% 0.0716 -0.0641)
OKLCHoklch(28.5% 0.096 318.2)
XYZxyz(3.3809, 2.0339, 6.3441)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1648 #214816
analogous
#241648 #3D1648 #48163A
triadic
#3D1648 #483D16 #16483D
tetradic
#3D1648 #482416 #214816 #163A48
square
#3D1648 #482416 #214816 #163A48
split-complementary
#3D1648 #3A4816 #164824
monochromatic
#140717 #150819 #3D1648 #652477 #8C33A6

Accessibility & contrast

On white

14.93
#3D1648 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#3D1648 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1648
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1648#FFFFFF#000000##FFFFFF
##3D16481.0014.931.4114.93
#FFFFFF14.931.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07254A
Deuteranopia (green-blind)
#182847
Tritanopia (blue-blind)
#3D1F2C
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3d1648;
/* rgb */ color: rgb(61, 22, 72);
/* oklch */ color: oklch(28.5% 0.096 318.2);
Tailwind
colors: {
  custom: {
    50: '#74567b',
    500: '#3d1648',
    950: '#000000',
  },
}
SCSS
$custom: #3d1648;
$custom-light: #74567b;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1648",
  "rgb": {
    "r": 61,
    "g": 22,
    "b": 72
  },
  "hsl": {
    "h": 286.8,
    "s": 53.191,
    "l": 18.431
  },
  "oklch": {
    "l": 0.28498,
    "c": 0.09616,
    "h": 318.2
  },
  "luminance": 0.02034
}

Semantic roles & 50–950 ramp

primary
#3D1648
secondary
#4A7F3A
accent
#DD4B6B
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#080309
muted
#7B787B

Preview Lab

Preview with #3D1648

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

Preview Lab → · Contrast checker → · Palette generator →

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