#3D0C4B#3D0C4B

#3D0C4B is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.5% C 0.114 H 317.4°. Best body text is #FFFFFF at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#3D0C4B
RGBrgb(61, 12, 75)
HSLhsl(287, 72%, 17%)
HSVhsv(287, 84%, 29%)
CMYKcmyk(18.7%, 84%, 0%, 70.6%)
CIE-LABlab(14.19, 33.40, -27.37)
CIE-LCHlch(14.19, 43.19, 320.66°)
OKLaboklab(27.51% 0.0838 -0.077)
OKLCHoklch(27.51% 0.114 317.4)
XYZxyz(3.3258, 1.7632, 6.8204)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0C4B #1A4B0C
analogous
#1E0C4B #3D0C4B #4B0C3A
triadic
#3D0C4B #4B3D0C #0C4B3D
tetradic
#3D0C4B #4B1E0C #1A4B0C #0C3A4B
square
#3D0C4B #4B1E0C #1A4B0C #0C3A4B
split-complementary
#3D0C4B #3A4B0C #0C4B1E
monochromatic
#15041A #15041A #3D0C4B #681480 #931DB5

Accessibility & contrast

On white

15.53
#3D0C4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#3D0C4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D0C4B
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0C4B#FFFFFF#000000##FFFFFF
##3D0C4B1.0015.531.3515.53
#FFFFFF15.531.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214D
Deuteranopia (green-blind)
#0E254A
Tritanopia (blue-blind)
#3C1A2B
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3d0c4b;
/* rgb */ color: rgb(61, 12, 75);
/* oklch */ color: oklch(27.5% 0.114 317.4);
Tailwind
colors: {
  custom: {
    50: '#75517e',
    500: '#3d0c4b',
    950: '#000000',
  },
}
SCSS
$custom: #3d0c4b;
$custom-light: #75517e;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0c4b",
  "rgb": {
    "r": 61,
    "g": 12,
    "b": 75
  },
  "hsl": {
    "h": 286.667,
    "s": 72.414,
    "l": 17.059
  },
  "oklch": {
    "l": 0.27513,
    "c": 0.11385,
    "h": 317.4
  },
  "luminance": 0.01763
}

Semantic roles & 50–950 ramp

primary
#3D0C4B
secondary
#40872C
accent
#EF3961
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#09020A
muted
#7B787C

Preview Lab

Preview with #3D0C4B

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

Preview Lab → · Contrast checker → · Palette generator →

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