#3D1249#3D1249

#3D1249 is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.0% C 0.104 H 318.0°. Best body text is #FFFFFF at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#3D1249
RGBrgb(61, 18, 73)
HSLhsl(287, 60%, 18%)
HSVhsv(287, 75%, 29%)
CMYKcmyk(16.4%, 75.3%, 0%, 71.4%)
CIE-LABlab(14.99, 30.27, -24.72)
CIE-LCHlch(14.99, 39.08, 320.76°)
OKLaboklab(28.03% 0.0771 -0.0693)
OKLCHoklch(28.03% 0.104 318)
XYZxyz(3.3432, 1.9059, 6.4938)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1249 #1E4912
analogous
#211249 #3D1249 #491239
triadic
#3D1249 #493D12 #12493D
tetradic
#3D1249 #492112 #1E4912 #123949
square
#3D1249 #492112 #1E4912 #123949
split-complementary
#3D1249 #394912 #124921
monochromatic
#150619 #150619 #3D1249 #661E7A #8F2AAB

Accessibility & contrast

On white

15.20
#3D1249 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#3D1249 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1249
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1249#FFFFFF#000000##FFFFFF
##3D12491.0015.201.3815.20
#FFFFFF15.201.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234B
Deuteranopia (green-blind)
#142748
Tritanopia (blue-blind)
#3D1C2B
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3d1249;
/* rgb */ color: rgb(61, 18, 73);
/* oklch */ color: oklch(28.0% 0.104 318.0);
Tailwind
colors: {
  custom: {
    50: '#75547c',
    500: '#3d1249',
    950: '#000000',
  },
}
SCSS
$custom: #3d1249;
$custom-light: #75547c;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1249",
  "rgb": {
    "r": 61,
    "g": 18,
    "b": 73
  },
  "hsl": {
    "h": 286.909,
    "s": 60.44,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28031,
    "c": 0.10364,
    "h": 318
  },
  "luminance": 0.01906
}

Semantic roles & 50–950 ramp

primary
#3D1249
secondary
#468235
accent
#E44467
background
#F7F5F7
surface
#EDE8EE
border
#C8C4C9
text
#080309
muted
#7B787B

Preview Lab

Preview with #3D1249

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

Preview Lab → · Contrast checker → · Palette generator →

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