#3D0D52#3D0D52

#3D0D52 is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.2% C 0.120 H 312.9°. Best body text is #FFFFFF at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#3D0D52
RGBrgb(61, 13, 82)
HSLhsl(282, 73%, 19%)
HSVhsv(282, 84%, 32%)
CMYKcmyk(25.6%, 84.1%, 0%, 67.8%)
CIE-LABlab(14.90, 34.61, -31.04)
CIE-LCHlch(14.90, 46.49, 318.11°)
OKLaboklab(28.19% 0.0815 -0.0878)
OKLCHoklch(28.19% 0.12 312.9)
XYZxyz(3.5911, 1.8893, 8.1565)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0D52 #22520D
analogous
#1A0D52 #3D0D52 #520D44
triadic
#3D0D52 #523D0D #0D523D
tetradic
#3D0D52 #521A0D #22520D #0D4452
square
#3D0D52 #521A0D #22520D #0D4452
split-complementary
#3D0D52 #44520D #0D521A
monochromatic
#14041A #16051D #3D0D52 #641587 #8C1EBC

Accessibility & contrast

On white

15.24
#3D0D52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#3D0D52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D0D52
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0D52#FFFFFF#000000##FFFFFF
##3D0D521.0015.241.3815.24
#FFFFFF15.241.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002354
Deuteranopia (green-blind)
#052651
Tritanopia (blue-blind)
#3B1D2F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3d0d52;
/* rgb */ color: rgb(61, 13, 82);
/* oklch */ color: oklch(28.2% 0.120 312.9);
Tailwind
colors: {
  custom: {
    50: '#765283',
    500: '#3d0d52',
    950: '#000000',
  },
}
SCSS
$custom: #3d0d52;
$custom-light: #765283;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0d52",
  "rgb": {
    "r": 61,
    "g": 13,
    "b": 82
  },
  "hsl": {
    "h": 281.739,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.28188,
    "c": 0.11983,
    "h": 312.9
  },
  "luminance": 0.01889
}

Semantic roles & 50–950 ramp

primary
#3D0D52
secondary
#4B8D2E
accent
#EF3870
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#09020B
muted
#7B787C

Preview Lab

Preview with #3D0D52

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

Preview Lab → · Contrast checker → · Palette generator →

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