#3D0C35#3D0C35

#3D0C35 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.0% C 0.093 H 335.3°. Best body text is #FFFFFF at 16.12:1 contrast (WCAG AA passes).

Color values

HEX#3D0C35
RGBrgb(61, 12, 53)
HSLhsl(310, 67%, 14%)
HSVhsv(310, 80%, 24%)
CMYKcmyk(0%, 80.3%, 13.1%, 76.1%)
CIE-LABlab(12.69, 28.89, -14.24)
CIE-LCHlch(12.69, 32.21, 333.76°)
OKLaboklab(25.95% 0.0843 -0.0388)
OKLCHoklch(25.95% 0.093 335.3)
XYZxyz(2.6986, 1.5123, 3.5173)
Luminance0.0151 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0C35 #0C3D14
analogous
#2D0C3D #3D0C35 #3D0C1D
triadic
#3D0C35 #353D0C #0C353D
tetradic
#3D0C35 #3D2D0C #0C3D14 #0C1D3D
square
#3D0C35 #3D2D0C #0C3D14 #0C1D3D
split-complementary
#3D0C35 #1D3D0C #0C3D2D
monochromatic
#1A0516 #1A0516 #3D0C35 #701661 #A3208E

Accessibility & contrast

On white

16.12
#3D0C35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#3D0C35 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D0C35
16.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0C35#FFFFFF#000000##FFFFFF
##3D0C351.0016.121.3016.12
#FFFFFF16.121.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C1C36
Deuteranopia (green-blind)
#1D2434
Tritanopia (blue-blind)
#40101F
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #3d0c35;
/* rgb */ color: rgb(61, 12, 53);
/* oklch */ color: oklch(26.0% 0.093 335.3);
Tailwind
colors: {
  custom: {
    50: '#75506c',
    500: '#3d0c35',
    950: '#000000',
  },
}
SCSS
$custom: #3d0c35;
$custom-light: #75506c;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0c35",
  "rgb": {
    "r": 61,
    "g": 12,
    "b": 53
  },
  "hsl": {
    "h": 309.796,
    "s": 67.123,
    "l": 14.314
  },
  "oklch": {
    "l": 0.25952,
    "c": 0.09282,
    "h": 335.3
  },
  "luminance": 0.01512
}

Semantic roles & 50–950 ramp

primary
#3D0C35
secondary
#2C7938
accent
#EA5A3E
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080207
muted
#7B787A

Preview Lab

Preview with #3D0C35

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

Preview Lab → · Contrast checker → · Palette generator →

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