#3D0B48#3D0B48

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

Color values

HEX#3D0B48
RGBrgb(61, 11, 72)
HSLhsl(289, 73%, 16%)
HSVhsv(289, 85%, 28%)
CMYKcmyk(15.3%, 84.7%, 0%, 71.8%)
CIE-LABlab(13.82, 33.13, -25.89)
CIE-LCHlch(13.82, 42.04, 322.00°)
OKLaboklab(27.18% 0.0853 -0.0727)
OKLCHoklch(27.18% 0.112 319.6)
XYZxyz(3.2137, 1.6995, 6.2884)
Luminance0.0170 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0B48 #16480B
analogous
#1F0B48 #3D0B48 #480B35
triadic
#3D0B48 #483D0B #0B483D
tetradic
#3D0B48 #481F0B #16480B #0B3548
square
#3D0B48 #481F0B #16480B #0B3548
split-complementary
#3D0B48 #35480B #0B481F
monochromatic
#16041B #16041B #3D0B48 #6A137D #971BB2

Accessibility & contrast

On white

15.67
#3D0B48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D0B48
15.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0B48#FFFFFF#000000##FFFFFF
##3D0B481.0015.671.3415.67
#FFFFFF15.671.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3d0b48;
/* rgb */ color: rgb(61, 11, 72);
/* oklch */ color: oklch(27.2% 0.112 319.6);
Tailwind
colors: {
  custom: {
    50: '#75517b',
    500: '#3d0b48',
    950: '#000000',
  },
}
SCSS
$custom: #3d0b48;
$custom-light: #75517b;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0b48",
  "rgb": {
    "r": 61,
    "g": 11,
    "b": 72
  },
  "hsl": {
    "h": 289.18,
    "s": 73.494,
    "l": 16.275
  },
  "oklch": {
    "l": 0.27179,
    "c": 0.11204,
    "h": 319.6
  },
  "luminance": 0.01699
}

Semantic roles & 50–950 ramp

primary
#3D0B48
secondary
#3B842A
accent
#F03859
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#090209
muted
#7B787B

Preview Lab

Preview with #3D0B48

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

Preview Lab → · Contrast checker → · Palette generator →

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