#3D0640#3D0640

#3D0640 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.1% C 0.111 H 325.8°. Best body text is #FFFFFF at 16.17:1 contrast (WCAG AA passes).

Color values

HEX#3D0640
RGBrgb(61, 6, 64)
HSLhsl(297, 83%, 14%)
HSVhsv(297, 91%, 25%)
CMYKcmyk(4.7%, 90.6%, 0%, 74.9%)
CIE-LABlab(12.56, 33.40, -22.30)
CIE-LCHlch(12.56, 40.16, 326.27°)
OKLaboklab(26.1% 0.0914 -0.0621)
OKLCHoklch(26.1% 0.111 325.8)
XYZxyz(2.9149, 1.4927, 4.9841)
Luminance0.0149 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0640 #094006
analogous
#200640 #3D0640 #400626
triadic
#3D0640 #403D06 #06403D
tetradic
#3D0640 #402006 #094006 #062640
square
#3D0640 #402006 #094006 #062640
split-complementary
#3D0640 #264006 #064020
monochromatic
#1B031C #1B031C #3D0640 #720B78 #A810B0

Accessibility & contrast

On white

16.17
#3D0640 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D0640
16.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0640#FFFFFF#000000##FFFFFF
##3D06401.0016.171.3016.17
#FFFFFF16.171.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C41
Deuteranopia (green-blind)
#14233F
Tritanopia (blue-blind)
#3F1123
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #3d0640;
/* rgb */ color: rgb(61, 6, 64);
/* oklch */ color: oklch(26.1% 0.111 325.8);
Tailwind
colors: {
  custom: {
    50: '#754e75',
    500: '#3d0640',
    950: '#000000',
  },
}
SCSS
$custom: #3d0640;
$custom-light: #754e75;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0640",
  "rgb": {
    "r": 61,
    "g": 6,
    "b": 64
  },
  "hsl": {
    "h": 296.897,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.26095,
    "c": 0.11052,
    "h": 325.8
  },
  "luminance": 0.01493
}

Semantic roles & 50–950 ramp

primary
#3D0640
secondary
#278022
accent
#F92F39
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #3D0640

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

Preview Lab → · Contrast checker → · Palette generator →

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