#3D1548#3D1548

#3D1548 is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.4% C 0.098 H 318.3°. Best body text is #FFFFFF at 15.01:1 contrast (WCAG AA passes).

Color values

HEX#3D1548
RGBrgb(61, 21, 72)
HSLhsl(287, 55%, 18%)
HSVhsv(287, 71%, 28%)
CMYKcmyk(15.3%, 70.8%, 0%, 71.8%)
CIE-LABlab(15.47, 28.49, -23.25)
CIE-LCHlch(15.47, 36.78, 320.78°)
OKLaboklab(28.36% 0.0731 -0.065)
OKLCHoklch(28.36% 0.098 318.3)
XYZxyz(3.3622, 1.9965, 6.3379)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1548 #204815
analogous
#231548 #3D1548 #481539
triadic
#3D1548 #483D15 #15483D
tetradic
#3D1548 #482315 #204815 #153948
square
#3D1548 #482315 #204815 #153948
split-complementary
#3D1548 #394815 #154823
monochromatic
#140718 #150719 #3D1548 #652377 #8D31A7

Accessibility & contrast

On white

15.01
#3D1548 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#3D1548 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1548
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1548#FFFFFF#000000##FFFFFF
##3D15481.0015.011.4015.01
#FFFFFF15.011.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06244A
Deuteranopia (green-blind)
#172847
Tritanopia (blue-blind)
#3D1E2C
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3d1548;
/* rgb */ color: rgb(61, 21, 72);
/* oklch */ color: oklch(28.4% 0.098 318.3);
Tailwind
colors: {
  custom: {
    50: '#74567b',
    500: '#3d1548',
    950: '#000000',
  },
}
SCSS
$custom: #3d1548;
$custom-light: #74567b;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1548",
  "rgb": {
    "r": 61,
    "g": 21,
    "b": 72
  },
  "hsl": {
    "h": 287.059,
    "s": 54.839,
    "l": 18.235
  },
  "oklch": {
    "l": 0.28356,
    "c": 0.09782,
    "h": 318.3
  },
  "luminance": 0.01996
}

Semantic roles & 50–950 ramp

primary
#3D1548
secondary
#488039
accent
#DE4A6A
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#080309
muted
#7B787B

Preview Lab

Preview with #3D1548

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

Preview Lab → · Contrast checker → · Palette generator →

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