#3F0D3D#3F0D3D

#3F0D3D is a dark, moderate purple. Relative luminance 0.017; OKLCH L 26.9% C 0.100 H 329.6°. Best body text is #FFFFFF at 15.71:1 contrast (WCAG AA passes).

Color values

HEX#3F0D3D
RGBrgb(63, 13, 61)
HSLhsl(302, 66%, 15%)
HSVhsv(302, 79%, 25%)
CMYKcmyk(0%, 79.4%, 3.2%, 75.3%)
CIE-LABlab(13.72, 30.54, -18.31)
CIE-LCHlch(13.72, 35.61, 329.06°)
OKLaboklab(26.93% 0.0862 -0.0505)
OKLCHoklch(26.93% 0.1 329.6)
XYZxyz(3.0361, 1.6818, 4.5787)
Luminance0.0168 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0D3D #0D3F0F
analogous
#280D3F #3F0D3D #3F0D24
triadic
#3F0D3D #3D3F0D #0D3D3F
tetradic
#3F0D3D #3F280D #0D3F0F #0D243F
square
#3F0D3D #3F280D #0D3F0F #0D243F
split-complementary
#3F0D3D #243F0D #0D3F28
monochromatic
#190519 #190519 #3F0D3D #72176E #A4229F

Accessibility & contrast

On white

15.71
#3F0D3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F0D3D
15.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0D3D#FFFFFF#000000##FFFFFF
##3F0D3D1.0015.711.3415.71
#FFFFFF15.711.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071F3E
Deuteranopia (green-blind)
#1B253C
Tritanopia (blue-blind)
#421323
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3f0d3d;
/* rgb */ color: rgb(63, 13, 61);
/* oklch */ color: oklch(26.9% 0.100 329.6);
Tailwind
colors: {
  custom: {
    50: '#765172',
    500: '#3f0d3d',
    950: '#000000',
  },
}
SCSS
$custom: #3f0d3d;
$custom-light: #765172;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0d3d",
  "rgb": {
    "r": 63,
    "g": 13,
    "b": 61
  },
  "hsl": {
    "h": 302.4,
    "s": 65.789,
    "l": 14.902
  },
  "oklch": {
    "l": 0.26932,
    "c": 0.09994,
    "h": 329.6
  },
  "luminance": 0.01682
}

Semantic roles & 50–950 ramp

primary
#3F0D3D
secondary
#2D7B30
accent
#E9463F
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#090208
muted
#7B787B

Preview Lab

Preview with #3F0D3D

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

Preview Lab → · Contrast checker → · Palette generator →

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