#3D1040#3D1040

#3D1040 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.1% C 0.097 H 325.2°. Best body text is #FFFFFF at 15.59:1 contrast (WCAG AA passes).

Color values

HEX#3D1040
RGBrgb(61, 16, 64)
HSLhsl(296, 60%, 16%)
HSVhsv(296, 75%, 25%)
CMYKcmyk(4.7%, 75%, 0%, 74.9%)
CIE-LABlab(14.02, 29.24, -19.98)
CIE-LCHlch(14.02, 35.41, 325.65°)
OKLaboklab(27.14% 0.0799 -0.0555)
OKLCHoklch(27.14% 0.097 325.2)
XYZxyz(3.0351, 1.7330, 5.0241)
Luminance0.0173 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1040 #134010
analogous
#251040 #3D1040 #40102B
triadic
#3D1040 #403D10 #10403D
tetradic
#3D1040 #402510 #134010 #102B40
square
#3D1040 #402510 #134010 #102B40
split-complementary
#3D1040 #2B4010 #104025
monochromatic
#170618 #170618 #3D1040 #6C1C71 #9A28A2

Accessibility & contrast

On white

15.59
#3D1040 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#3D1040 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1040
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1040#FFFFFF#000000##FFFFFF
##3D10401.0015.591.3515.59
#FFFFFF15.591.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072041
Deuteranopia (green-blind)
#19263F
Tritanopia (blue-blind)
#3F1726
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3d1040;
/* rgb */ color: rgb(61, 16, 64);
/* oklch */ color: oklch(27.1% 0.097 325.2);
Tailwind
colors: {
  custom: {
    50: '#745375',
    500: '#3d1040',
    950: '#000000',
  },
}
SCSS
$custom: #3d1040;
$custom-light: #745375;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1040",
  "rgb": {
    "r": 61,
    "g": 16,
    "b": 64
  },
  "hsl": {
    "h": 296.25,
    "s": 60,
    "l": 15.686
  },
  "oklch": {
    "l": 0.27136,
    "c": 0.09722,
    "h": 325.2
  },
  "luminance": 0.01733
}

Semantic roles & 50–950 ramp

primary
#3D1040
secondary
#367A32
accent
#E3454F
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #3D1040

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

Preview Lab → · Contrast checker → · Palette generator →

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