#3D0C44#3D0C44

#3D0C44 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.0% C 0.107 H 322.4°. Best body text is #FFFFFF at 15.74:1 contrast (WCAG AA passes).

Color values

HEX#3D0C44
RGBrgb(61, 12, 68)
HSLhsl(293, 70%, 16%)
HSVhsv(293, 82%, 27%)
CMYKcmyk(10.3%, 82.4%, 0%, 73.3%)
CIE-LABlab(13.67, 31.87, -23.35)
CIE-LCHlch(13.67, 39.51, 323.77°)
OKLaboklab(26.97% 0.0846 -0.0652)
OKLCHoklch(26.97% 0.107 322.4)
XYZxyz(3.0992, 1.6726, 5.6273)
Luminance0.0167 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0C44 #13440C
analogous
#210C44 #3D0C44 #440C2F
triadic
#3D0C44 #443D0C #0C443D
tetradic
#3D0C44 #44210C #13440C #0C2F44
square
#3D0C44 #44210C #13440C #0C2F44
split-complementary
#3D0C44 #2F440C #0C4421
monochromatic
#17051A #17051A #3D0C44 #6C1578 #9A1EAC

Accessibility & contrast

On white

15.74
#3D0C44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#3D0C44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D0C44
15.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0C44#FFFFFF#000000##FFFFFF
##3D0C441.0015.741.3315.74
#FFFFFF15.741.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F46
Deuteranopia (green-blind)
#142543
Tritanopia (blue-blind)
#3E1727
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3d0c44;
/* rgb */ color: rgb(61, 12, 68);
/* oklch */ color: oklch(27.0% 0.107 322.4);
Tailwind
colors: {
  custom: {
    50: '#755178',
    500: '#3d0c44',
    950: '#000000',
  },
}
SCSS
$custom: #3d0c44;
$custom-light: #755178;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0c44",
  "rgb": {
    "r": 61,
    "g": 12,
    "b": 68
  },
  "hsl": {
    "h": 292.5,
    "s": 70,
    "l": 15.686
  },
  "oklch": {
    "l": 0.26972,
    "c": 0.10686,
    "h": 322.4
  },
  "luminance": 0.01672
}

Semantic roles & 50–950 ramp

primary
#3D0C44
secondary
#36802C
accent
#ED3B51
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #3D0C44

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

Preview Lab → · Contrast checker → · Palette generator →

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