#3F0C4D#3F0C4D

#3F0C4D is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.0% C 0.117 H 317.7°. Best body text is #FFFFFF at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#3F0C4D
RGBrgb(63, 12, 77)
HSLhsl(287, 73%, 17%)
HSVhsv(287, 84%, 30%)
CMYKcmyk(18.2%, 84.4%, 0%, 69.8%)
CIE-LABlab(14.71, 34.30, -27.90)
CIE-LCHlch(14.71, 44.21, 320.88°)
OKLaboklab(28% 0.0864 -0.0785)
OKLCHoklch(28% 0.117 317.7)
XYZxyz(3.5207, 1.8557, 7.1925)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0C4D #1A4D0C
analogous
#1F0C4D #3F0C4D #4D0C3B
triadic
#3F0C4D #4D3F0C #0C4D3F
tetradic
#3F0C4D #4D1F0C #1A4D0C #0C3B4D
square
#3F0C4D #4D1F0C #1A4D0C #0C3B4D
split-complementary
#3F0C4D #3B4D0C #0C4D1F
monochromatic
#16041A #16041A #3F0C4D #6A1482 #961DB7

Accessibility & contrast

On white

15.32
#3F0C4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#3F0C4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0C4D
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0C4D#FFFFFF#000000##FFFFFF
##3F0C4D1.0015.321.3715.32
#FFFFFF15.321.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224F
Deuteranopia (green-blind)
#0E274C
Tritanopia (blue-blind)
#3E1A2C
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3f0c4d;
/* rgb */ color: rgb(63, 12, 77);
/* oklch */ color: oklch(28.0% 0.117 317.7);
Tailwind
colors: {
  custom: {
    50: '#77527f',
    500: '#3f0c4d',
    950: '#000000',
  },
}
SCSS
$custom: #3f0c4d;
$custom-light: #77527f;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0c4d",
  "rgb": {
    "r": 63,
    "g": 12,
    "b": 77
  },
  "hsl": {
    "h": 287.077,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.28002,
    "c": 0.11671,
    "h": 317.7
  },
  "luminance": 0.01856
}

Semantic roles & 50–950 ramp

primary
#3F0C4D
secondary
#40892C
accent
#F03860
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#09020A
muted
#7B787C

Preview Lab

Preview with #3F0C4D

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

Preview Lab → · Contrast checker → · Palette generator →

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