#3D1352#3D1352

#3D1352 is a dark, moderate purple. Relative luminance 0.021; OKLCH L 28.9% C 0.112 H 311.9°. Best body text is #FFFFFF at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#3D1352
RGBrgb(61, 19, 82)
HSLhsl(280, 62%, 20%)
HSVhsv(280, 77%, 32%)
CMYKcmyk(25.6%, 76.8%, 0%, 67.8%)
CIE-LABlab(15.84, 31.93, -29.52)
CIE-LCHlch(15.84, 43.49, 317.24°)
OKLaboklab(28.85% 0.075 -0.0834)
OKLCHoklch(28.85% 0.112 311.9)
XYZxyz(3.6801, 2.0671, 8.1861)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1352 #285213
analogous
#1E1352 #3D1352 #521348
triadic
#3D1352 #523D13 #13523D
tetradic
#3D1352 #521E13 #285213 #134852
square
#3D1352 #521E13 #285213 #134852
split-complementary
#3D1352 #485213 #13521E
monochromatic
#120619 #180720 #3D1352 #621F84 #872AB5

Accessibility & contrast

On white

14.86
#3D1352 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D1352
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1352#FFFFFF#000000##FFFFFF
##3D13521.0014.861.4114.86
#FFFFFF14.861.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002554
Deuteranopia (green-blind)
#0C2851
Tritanopia (blue-blind)
#3A2131
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3d1352;
/* rgb */ color: rgb(61, 19, 82);
/* oklch */ color: oklch(28.9% 0.112 311.9);
Tailwind
colors: {
  custom: {
    50: '#755583',
    500: '#3d1352',
    950: '#000000',
  },
}
SCSS
$custom: #3d1352;
$custom-light: #755583;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1352",
  "rgb": {
    "r": 61,
    "g": 19,
    "b": 82
  },
  "hsl": {
    "h": 280,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.28854,
    "c": 0.11214,
    "h": 311.9
  },
  "luminance": 0.02067
}

Semantic roles & 50–950 ramp

primary
#3D1352
secondary
#528A36
accent
#E54279
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3D1352

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

Preview Lab → · Contrast checker → · Palette generator →

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