#3D0C49#3D0C49

#3D0C49 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.4% C 0.112 H 318.8°. Best body text is #FFFFFF at 15.59:1 contrast (WCAG AA passes).

Color values

HEX#3D0C49
RGBrgb(61, 12, 73)
HSLhsl(288, 72%, 17%)
HSVhsv(288, 84%, 29%)
CMYKcmyk(16.4%, 83.6%, 0%, 71.4%)
CIE-LABlab(14.04, 32.96, -26.24)
CIE-LCHlch(14.04, 42.13, 321.47°)
OKLaboklab(27.36% 0.0841 -0.0737)
OKLCHoklch(27.36% 0.112 318.8)
XYZxyz(3.2584, 1.7362, 6.4655)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0C49 #18490C
analogous
#1F0C49 #3D0C49 #490C37
triadic
#3D0C49 #493D0C #0C493D
tetradic
#3D0C49 #491F0C #18490C #0C3749
square
#3D0C49 #491F0C #18490C #0C3749
split-complementary
#3D0C49 #37490C #0C491F
monochromatic
#16041A #16041A #3D0C49 #69157E #951DB2

Accessibility & contrast

On white

15.59
#3D0C49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#3D0C49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D0C49
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0C49#FFFFFF#000000##FFFFFF
##3D0C491.0015.591.3515.59
#FFFFFF15.591.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214B
Deuteranopia (green-blind)
#102548
Tritanopia (blue-blind)
#3D192A
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3d0c49;
/* rgb */ color: rgb(61, 12, 73);
/* oklch */ color: oklch(27.4% 0.112 318.8);
Tailwind
colors: {
  custom: {
    50: '#75517c',
    500: '#3d0c49',
    950: '#000000',
  },
}
SCSS
$custom: #3d0c49;
$custom-light: #75517c;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0c49",
  "rgb": {
    "r": 61,
    "g": 12,
    "b": 73
  },
  "hsl": {
    "h": 288.197,
    "s": 71.765,
    "l": 16.667
  },
  "oklch": {
    "l": 0.27355,
    "c": 0.11184,
    "h": 318.8
  },
  "luminance": 0.01736
}

Semantic roles & 50–950 ramp

primary
#3D0C49
secondary
#3D852C
accent
#EE395D
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#090209
muted
#7B787B

Preview Lab

Preview with #3D0C49

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

Preview Lab → · Contrast checker → · Palette generator →

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