#3D0B47#3D0B47

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

Color values

HEX#3D0B47
RGBrgb(61, 11, 71)
HSLhsl(290, 73%, 16%)
HSVhsv(290, 85%, 28%)
CMYKcmyk(14.1%, 84.5%, 0%, 72.2%)
CIE-LABlab(13.75, 32.91, -25.31)
CIE-LCHlch(13.75, 41.52, 322.44°)
OKLaboklab(27.1% 0.0854 -0.071)
OKLCHoklch(27.1% 0.111 320.3)
XYZxyz(3.1813, 1.6865, 6.1180)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0B47 #15470B
analogous
#1F0B47 #3D0B47 #470B33
triadic
#3D0B47 #473D0B #0B473D
tetradic
#3D0B47 #471F0B #15470B #0B3347
square
#3D0B47 #471F0B #15470B #0B3347
split-complementary
#3D0B47 #33470B #0B471F
monochromatic
#17041A #17041A #3D0B47 #6B137C #981BB1

Accessibility & contrast

On white

15.70
#3D0B47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D0B47
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0B47#FFFFFF#000000##FFFFFF
##3D0B471.0015.701.3415.70
#FFFFFF15.701.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002049
Deuteranopia (green-blind)
#112546
Tritanopia (blue-blind)
#3D1728
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3d0b47;
/* rgb */ color: rgb(61, 11, 71);
/* oklch */ color: oklch(27.1% 0.111 320.3);
Tailwind
colors: {
  custom: {
    50: '#75517a',
    500: '#3d0b47',
    950: '#000000',
  },
}
SCSS
$custom: #3d0b47;
$custom-light: #75517a;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0b47",
  "rgb": {
    "r": 61,
    "g": 11,
    "b": 71
  },
  "hsl": {
    "h": 290,
    "s": 73.171,
    "l": 16.078
  },
  "oklch": {
    "l": 0.27101,
    "c": 0.11105,
    "h": 320.3
  },
  "luminance": 0.01686
}

Semantic roles & 50–950 ramp

primary
#3D0B47
secondary
#39832A
accent
#F03857
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090209
muted
#7B787B

Preview Lab

Preview with #3D0B47

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

Preview Lab → · Contrast checker → · Palette generator →

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