#3D0B46#3D0B46

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

Color values

HEX#3D0B46
RGBrgb(61, 11, 70)
HSLhsl(291, 73%, 16%)
HSVhsv(291, 84%, 27%)
CMYKcmyk(12.9%, 84.3%, 0%, 72.5%)
CIE-LABlab(13.67, 32.70, -24.74)
CIE-LCHlch(13.67, 41.00, 322.89°)
OKLaboklab(27.02% 0.0855 -0.0693)
OKLCHoklch(27.02% 0.11 321)
XYZxyz(3.1495, 1.6738, 5.9503)
Luminance0.0167 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0B46 #14460B
analogous
#1F0B46 #3D0B46 #460B31
triadic
#3D0B46 #463D0B #0B463D
tetradic
#3D0B46 #461F0B #14460B #0B3146
square
#3D0B46 #461F0B #14460B #0B3146
split-complementary
#3D0B46 #31460B #0B461F
monochromatic
#17041A #17041A #3D0B46 #6B137B #991CB0

Accessibility & contrast

On white

15.73
#3D0B46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D0B46
15.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0B46#FFFFFF#000000##FFFFFF
##3D0B461.0015.731.3315.73
#FFFFFF15.731.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F48
Deuteranopia (green-blind)
#122545
Tritanopia (blue-blind)
#3D1728
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3d0b46;
/* rgb */ color: rgb(61, 11, 70);
/* oklch */ color: oklch(27.0% 0.110 321.0);
Tailwind
colors: {
  custom: {
    50: '#75517a',
    500: '#3d0b46',
    950: '#000000',
  },
}
SCSS
$custom: #3d0b46;
$custom-light: #75517a;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0b46",
  "rgb": {
    "r": 61,
    "g": 11,
    "b": 70
  },
  "hsl": {
    "h": 290.847,
    "s": 72.84,
    "l": 15.882
  },
  "oklch": {
    "l": 0.27024,
    "c": 0.11007,
    "h": 321
  },
  "luminance": 0.01674
}

Semantic roles & 50–950 ramp

primary
#3D0B46
secondary
#38822A
accent
#F03854
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090209
muted
#7B787B

Preview Lab

Preview with #3D0B46

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

Preview Lab → · Contrast checker → · Palette generator →

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