#3D0340#3D0340

#3D0340 is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.8% C 0.114 H 326.0°. Best body text is #FFFFFF at 16.34:1 contrast (WCAG AA passes).

Color values

HEX#3D0340
RGBrgb(61, 3, 64)
HSLhsl(297, 91%, 13%)
HSVhsv(297, 95%, 25%)
CMYKcmyk(4.7%, 95.3%, 0%, 74.9%)
CIE-LABlab(12.14, 34.63, -22.97)
CIE-LCHlch(12.14, 41.56, 326.44°)
OKLaboklab(25.8% 0.0948 -0.0641)
OKLCHoklch(25.8% 0.114 326)
XYZxyz(2.8824, 1.4276, 4.9732)
Luminance0.0143 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0340 #064003
analogous
#1E0340 #3D0340 #400324
triadic
#3D0340 #403D03 #03403D
tetradic
#3D0340 #401E03 #064003 #032440
square
#3D0340 #401E03 #064003 #032440
split-complementary
#3D0340 #244003 #03401E
monochromatic
#1C011D #1C011D #3D0340 #75067A #AC08B5

Accessibility & contrast

On white

16.34
#3D0340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#3D0340 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D0340
16.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0340#FFFFFF#000000##FFFFFF
##3D03401.0016.341.2916.34
#FFFFFF16.341.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B42
Deuteranopia (green-blind)
#12223F
Tritanopia (blue-blind)
#3F0F23
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #3d0340;
/* rgb */ color: rgb(61, 3, 64);
/* oklch */ color: oklch(25.8% 0.114 326.0);
Tailwind
colors: {
  custom: {
    50: '#754d75',
    500: '#3d0340',
    950: '#000000',
  },
}
SCSS
$custom: #3d0340;
$custom-light: #754d75;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0340",
  "rgb": {
    "r": 61,
    "g": 3,
    "b": 64
  },
  "hsl": {
    "h": 297.049,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.25798,
    "c": 0.11445,
    "h": 326
  },
  "luminance": 0.01427
}

Semantic roles & 50–950 ramp

primary
#3D0340
secondary
#22821D
accent
#FF2933
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #3D0340

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

Preview Lab → · Contrast checker → · Palette generator →

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