#3D0C48#3D0C48

#3D0C48 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.3% C 0.111 H 319.5°. Best body text is #FFFFFF at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#3D0C48
RGBrgb(61, 12, 72)
HSLhsl(289, 71%, 16%)
HSVhsv(289, 83%, 28%)
CMYKcmyk(15.3%, 83.3%, 0%, 71.8%)
CIE-LABlab(13.96, 32.73, -25.67)
CIE-LCHlch(13.96, 41.60, 321.90°)
OKLaboklab(27.28% 0.0842 -0.072)
OKLCHoklch(27.28% 0.111 319.5)
XYZxyz(3.2255, 1.7231, 6.2923)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0C48 #17480C
analogous
#1F0C48 #3D0C48 #480C35
triadic
#3D0C48 #483D0C #0C483D
tetradic
#3D0C48 #481F0C #17480C #0C3548
square
#3D0C48 #481F0C #17480C #0C3548
split-complementary
#3D0C48 #35480C #0C481F
monochromatic
#16041A #16041A #3D0C48 #69157C #961DB1

Accessibility & contrast

On white

15.62
#3D0C48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#3D0C48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D0C48
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0C48#FFFFFF#000000##FFFFFF
##3D0C481.0015.621.3415.62
#FFFFFF15.621.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204A
Deuteranopia (green-blind)
#112547
Tritanopia (blue-blind)
#3D1829
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3d0c48;
/* rgb */ color: rgb(61, 12, 72);
/* oklch */ color: oklch(27.3% 0.111 319.5);
Tailwind
colors: {
  custom: {
    50: '#75517b',
    500: '#3d0c48',
    950: '#000000',
  },
}
SCSS
$custom: #3d0c48;
$custom-light: #75517b;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0c48",
  "rgb": {
    "r": 61,
    "g": 12,
    "b": 72
  },
  "hsl": {
    "h": 289,
    "s": 71.429,
    "l": 16.471
  },
  "oklch": {
    "l": 0.27276,
    "c": 0.11084,
    "h": 319.5
  },
  "luminance": 0.01723
}

Semantic roles & 50–950 ramp

primary
#3D0C48
secondary
#3C842C
accent
#EE3A5B
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#090209
muted
#7B787B

Preview Lab

Preview with #3D0C48

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

Preview Lab → · Contrast checker → · Palette generator →

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