#3D1340#3D1340

#3D1340 is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.5% C 0.092 H 325.0°. Best body text is #FFFFFF at 15.38:1 contrast (WCAG AA passes).

Color values

HEX#3D1340
RGBrgb(61, 19, 64)
HSLhsl(296, 54%, 16%)
HSVhsv(296, 70%, 25%)
CMYKcmyk(4.7%, 70.3%, 0%, 74.9%)
CIE-LABlab(14.56, 27.74, -19.12)
CIE-LCHlch(14.56, 33.69, 325.41°)
OKLaboklab(27.53% 0.0757 -0.053)
OKLCHoklch(27.53% 0.092 325)
XYZxyz(3.0827, 1.8282, 5.0400)
Luminance0.0183 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1340 #164013
analogous
#271340 #3D1340 #40132D
triadic
#3D1340 #403D13 #13403D
tetradic
#3D1340 #402713 #164013 #132D40
square
#3D1340 #402713 #164013 #132D40
split-complementary
#3D1340 #2D4013 #134027
monochromatic
#160718 #160718 #3D1340 #6A216F #972F9E

Accessibility & contrast

On white

15.38
#3D1340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#3D1340 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1340
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1340#FFFFFF#000000##FFFFFF
##3D13401.0015.381.3715.38
#FFFFFF15.381.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2141
Deuteranopia (green-blind)
#1B273F
Tritanopia (blue-blind)
#3E1927
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3d1340;
/* rgb */ color: rgb(61, 19, 64);
/* oklch */ color: oklch(27.5% 0.092 325.0);
Tailwind
colors: {
  custom: {
    50: '#745475',
    500: '#3d1340',
    950: '#000000',
  },
}
SCSS
$custom: #3d1340;
$custom-light: #745475;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1340",
  "rgb": {
    "r": 61,
    "g": 19,
    "b": 64
  },
  "hsl": {
    "h": 296,
    "s": 54.217,
    "l": 16.275
  },
  "oklch": {
    "l": 0.27526,
    "c": 0.0924,
    "h": 325
  },
  "luminance": 0.01828
}

Semantic roles & 50–950 ramp

primary
#3D1340
secondary
#3B7936
accent
#DE4A54
background
#F7F5F7
surface
#EDE8ED
border
#C8C4C8
text
#080308
muted
#7B787B

Preview Lab

Preview with #3D1340

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

Preview Lab → · Contrast checker → · Palette generator →

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