#3D0A38#3D0A38

#3D0A38 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 25.9% C 0.098 H 332.4°. Best body text is #FFFFFF at 16.17:1 contrast (WCAG AA passes).

Color values

HEX#3D0A38
RGBrgb(61, 10, 56)
HSLhsl(306, 72%, 14%)
HSVhsv(306, 84%, 24%)
CMYKcmyk(0%, 83.6%, 8.2%, 76.1%)
CIE-LABlab(12.58, 30.27, -16.57)
CIE-LCHlch(12.58, 34.51, 331.30°)
OKLaboklab(25.93% 0.087 -0.0455)
OKLCHoklch(25.93% 0.098 332.4)
XYZxyz(2.7468, 1.4949, 3.8845)
Luminance0.0149 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0A38 #0A3D0F
analogous
#290A3D #3D0A38 #3D0A1F
triadic
#3D0A38 #383D0A #0A383D
tetradic
#3D0A38 #3D290A #0A3D0F #0A1F3D
square
#3D0A38 #3D290A #0A3D0F #0A1F3D
split-complementary
#3D0A38 #1F3D0A #0A3D29
monochromatic
#1A0418 #1A0418 #3D0A38 #721368 #A61B99

Accessibility & contrast

On white

16.17
#3D0A38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D0A38
16.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0A38#FFFFFF#000000##FFFFFF
##3D0A381.0016.171.3016.17
#FFFFFF16.171.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071C39
Deuteranopia (green-blind)
#1B2337
Tritanopia (blue-blind)
#401020
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #3d0a38;
/* rgb */ color: rgb(61, 10, 56);
/* oklch */ color: oklch(25.9% 0.098 332.4);
Tailwind
colors: {
  custom: {
    50: '#754f6f',
    500: '#3d0a38',
    950: '#000000',
  },
}
SCSS
$custom: #3d0a38;
$custom-light: #754f6f;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0a38",
  "rgb": {
    "r": 61,
    "g": 10,
    "b": 56
  },
  "hsl": {
    "h": 305.882,
    "s": 71.831,
    "l": 13.922
  },
  "oklch": {
    "l": 0.25931,
    "c": 0.0982,
    "h": 332.4
  },
  "luminance": 0.01495
}

Semantic roles & 50–950 ramp

primary
#3D0A38
secondary
#287A30
accent
#EF4B39
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080207
muted
#7B787A

Preview Lab

Preview with #3D0A38

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

Preview Lab → · Contrast checker → · Palette generator →

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