#3D0740#3D0740

#3D0740 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.2% C 0.109 H 325.7°. Best body text is #FFFFFF at 16.12:1 contrast (WCAG AA passes).

Color values

HEX#3D0740
RGBrgb(61, 7, 64)
HSLhsl(297, 80%, 14%)
HSVhsv(297, 89%, 25%)
CMYKcmyk(4.7%, 89.1%, 0%, 74.9%)
CIE-LABlab(12.70, 33.00, -22.08)
CIE-LCHlch(12.70, 39.70, 326.21°)
OKLaboklab(26.19% 0.0903 -0.0615)
OKLCHoklch(26.19% 0.109 325.7)
XYZxyz(2.9258, 1.5144, 4.9877)
Luminance0.0151 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0740 #0A4007
analogous
#210740 #3D0740 #400727
triadic
#3D0740 #403D07 #07403D
tetradic
#3D0740 #402107 #0A4007 #072740
square
#3D0740 #402107 #0A4007 #072740
split-complementary
#3D0740 #274007 #074021
monochromatic
#1A031C #1A031C #3D0740 #720D77 #A613AE

Accessibility & contrast

On white

16.12
#3D0740 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#3D0740 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D0740
16.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0740#FFFFFF#000000##FFFFFF
##3D07401.0016.121.3016.12
#FFFFFF16.121.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3d0740;
/* rgb */ color: rgb(61, 7, 64);
/* oklch */ color: oklch(26.2% 0.109 325.7);
Tailwind
colors: {
  custom: {
    50: '#754f75',
    500: '#3d0740',
    950: '#000000',
  },
}
SCSS
$custom: #3d0740;
$custom-light: #754f75;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0740",
  "rgb": {
    "r": 61,
    "g": 7,
    "b": 64
  },
  "hsl": {
    "h": 296.842,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.26193,
    "c": 0.10925,
    "h": 325.7
  },
  "luminance": 0.01514
}

Semantic roles & 50–950 ramp

primary
#3D0740
secondary
#287F24
accent
#F7313B
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #3D0740

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

Preview Lab → · Contrast checker → · Palette generator →

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