#3D0940#3D0940

#3D0940 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.4% C 0.107 H 325.6°. Best body text is #FFFFFF at 16.01:1 contrast (WCAG AA passes).

Color values

HEX#3D0940
RGBrgb(61, 9, 64)
HSLhsl(297, 75%, 14%)
HSVhsv(297, 86%, 25%)
CMYKcmyk(4.7%, 85.9%, 0%, 74.9%)
CIE-LABlab(12.97, 32.21, -21.65)
CIE-LCHlch(12.97, 38.81, 326.10°)
OKLaboklab(26.39% 0.0881 -0.0602)
OKLCHoklch(26.39% 0.107 325.6)
XYZxyz(2.9475, 1.5578, 4.9949)
Luminance0.0156 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0940 #0C4009
analogous
#220940 #3D0940 #400928
triadic
#3D0940 #403D09 #09403D
tetradic
#3D0940 #402209 #0C4009 #092840
square
#3D0940 #402209 #0C4009 #092840
split-complementary
#3D0940 #284009 #094022
monochromatic
#1A041B #1A041B #3D0940 #701176 #A318AB

Accessibility & contrast

On white

16.01
#3D0940 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#3D0940 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D0940
16.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0940#FFFFFF#000000##FFFFFF
##3D09401.0016.011.3116.01
#FFFFFF16.011.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D41
Deuteranopia (green-blind)
#16243F
Tritanopia (blue-blind)
#3F1324
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #3d0940;
/* rgb */ color: rgb(61, 9, 64);
/* oklch */ color: oklch(26.4% 0.107 325.6);
Tailwind
colors: {
  custom: {
    50: '#754f75',
    500: '#3d0940',
    950: '#000000',
  },
}
SCSS
$custom: #3d0940;
$custom-light: #754f75;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0940",
  "rgb": {
    "r": 61,
    "g": 9,
    "b": 64
  },
  "hsl": {
    "h": 296.727,
    "s": 75.342,
    "l": 14.314
  },
  "oklch": {
    "l": 0.26386,
    "c": 0.10674,
    "h": 325.6
  },
  "luminance": 0.01558
}

Semantic roles & 50–950 ramp

primary
#3D0940
secondary
#2C7E27
accent
#F23640
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #3D0940

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

Preview Lab → · Contrast checker → · Palette generator →

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