#3D1A4E#3D1A4E

#3D1A4E is a dark, moderate purple. Relative luminance 0.023; OKLCH L 29.5% C 0.096 H 313.1°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#3D1A4E
RGBrgb(61, 26, 78)
HSLhsl(280, 50%, 20%)
HSVhsv(280, 67%, 31%)
CMYKcmyk(21.8%, 66.7%, 0%, 69.4%)
CIE-LABlab(16.90, 27.18, -25.09)
CIE-LCHlch(16.90, 36.99, 317.28°)
OKLaboklab(29.53% 0.0659 -0.0705)
OKLCHoklch(29.53% 0.096 313.1)
XYZxyz(3.6688, 2.2810, 7.4533)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1A4E #2B4E1A
analogous
#231A4E #3D1A4E #4E1A45
triadic
#3D1A4E #4E3D1A #1A4E3D
tetradic
#3D1A4E #4E231A #2B4E1A #1A454E
square
#3D1A4E #4E231A #2B4E1A #1A454E
split-complementary
#3D1A4E #454E1A #1A4E23
monochromatic
#120817 #190B20 #3D1A4E #61297C #8539AA

Accessibility & contrast

On white

14.42
#3D1A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#3D1A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1A4E
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1A4E#FFFFFF#000000##FFFFFF
##3D1A4E1.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082850
Deuteranopia (green-blind)
#172A4D
Tritanopia (blue-blind)
#3B2331
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3d1a4e;
/* rgb */ color: rgb(61, 26, 78);
/* oklch */ color: oklch(29.5% 0.096 313.1);
Tailwind
colors: {
  custom: {
    50: '#745980',
    500: '#3d1a4e',
    950: '#000000',
  },
}
SCSS
$custom: #3d1a4e;
$custom-light: #745980;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1a4e",
  "rgb": {
    "r": 61,
    "g": 26,
    "b": 78
  },
  "hsl": {
    "h": 280.385,
    "s": 50,
    "l": 20.392
  },
  "oklch": {
    "l": 0.29525,
    "c": 0.09645,
    "h": 313.1
  },
  "luminance": 0.02281
}

Semantic roles & 50–950 ramp

primary
#3D1A4E
secondary
#568440
accent
#DA4E7C
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #3D1A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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