#3F0D4F#3F0D4F

#3F0D4F is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.3% C 0.118 H 316.3°. Best body text is #FFFFFF at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#3F0D4F
RGBrgb(63, 13, 79)
HSLhsl(285, 72%, 18%)
HSVhsv(285, 84%, 31%)
CMYKcmyk(20.3%, 83.5%, 0%, 69%)
CIE-LABlab(15.00, 34.35, -28.80)
CIE-LCHlch(15.00, 44.83, 320.03°)
OKLaboklab(28.26% 0.085 -0.0811)
OKLCHoklch(28.26% 0.118 316.3)
XYZxyz(3.6049, 1.9093, 7.5743)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0D4F #1D4F0D
analogous
#1E0D4F #3F0D4F #4F0D3E
triadic
#3F0D4F #4F3F0D #0D4F3F
tetradic
#3F0D4F #4F1E0D #1D4F0D #0D3E4F
square
#3F0D4F #4F1E0D #1D4F0D #0D3E4F
split-complementary
#3F0D4F #3E4F0D #0D4F1E
monochromatic
#15041A #15041A #3F0D4F #691684 #931EB8

Accessibility & contrast

On white

15.20
#3F0D4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#3F0D4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0D4F
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0D4F#FFFFFF#000000##FFFFFF
##3F0D4F1.0015.201.3815.20
#FFFFFF15.201.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002351
Deuteranopia (green-blind)
#0D274E
Tritanopia (blue-blind)
#3E1C2E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3f0d4f;
/* rgb */ color: rgb(63, 13, 79);
/* oklch */ color: oklch(28.3% 0.118 316.3);
Tailwind
colors: {
  custom: {
    50: '#775281',
    500: '#3f0d4f',
    950: '#000000',
  },
}
SCSS
$custom: #3f0d4f;
$custom-light: #775281;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0d4f",
  "rgb": {
    "r": 63,
    "g": 13,
    "b": 79
  },
  "hsl": {
    "h": 285.455,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.28259,
    "c": 0.11754,
    "h": 316.3
  },
  "luminance": 0.01909
}

Semantic roles & 50–950 ramp

primary
#3F0D4F
secondary
#448A2E
accent
#EE3965
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#09020A
muted
#7B787C

Preview Lab

Preview with #3F0D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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