#3D0538#3D0538

#3D0538 is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.4% C 0.105 H 332.3°. Best body text is #FFFFFF at 16.44:1 contrast (WCAG AA passes).

Color values

HEX#3D0538
RGBrgb(61, 5, 56)
HSLhsl(305, 85%, 13%)
HSVhsv(305, 92%, 24%)
CMYKcmyk(0%, 91.8%, 8.2%, 76.1%)
CIE-LABlab(11.87, 32.31, -17.69)
CIE-LCHlch(11.87, 36.83, 331.29°)
OKLaboklab(25.42% 0.0929 -0.0487)
OKLCHoklch(25.42% 0.105 332.3)
XYZxyz(2.6926, 1.3864, 3.8664)
Luminance0.0139 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0538 #053D0A
analogous
#26053D #3D0538 #3D051C
triadic
#3D0538 #383D05 #05383D
tetradic
#3D0538 #3D2605 #053D0A #051C3D
square
#3D0538 #3D2605 #053D0A #051C3D
split-complementary
#3D0538 #1C3D05 #053D26
monochromatic
#1C021A #1C021A #3D0538 #760A6C #AE0EA0

Accessibility & contrast

On white

16.44
#3D0538 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#3D0538 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D0538
16.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0538#FFFFFF#000000##FFFFFF
##3D05381.0016.441.2816.44
#FFFFFF16.441.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021A39
Deuteranopia (green-blind)
#192237
Tritanopia (blue-blind)
#400C1E
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #3d0538;
/* rgb */ color: rgb(61, 5, 56);
/* oklch */ color: oklch(25.4% 0.105 332.3);
Tailwind
colors: {
  custom: {
    50: '#754d6f',
    500: '#3d0538',
    950: '#000000',
  },
}
SCSS
$custom: #3d0538;
$custom-light: #754d6f;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0538",
  "rgb": {
    "r": 61,
    "g": 5,
    "b": 56
  },
  "hsl": {
    "h": 305.357,
    "s": 84.848,
    "l": 12.941
  },
  "oklch": {
    "l": 0.25424,
    "c": 0.10494,
    "h": 332.3
  },
  "luminance": 0.01386
}

Semantic roles & 50–950 ramp

primary
#3D0538
secondary
#207E28
accent
#FB3F2D
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#090207
muted
#7B787A

Preview Lab

Preview with #3D0538

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

Preview Lab → · Contrast checker → · Palette generator →

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