#3F0841#3F0841

#3F0841 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.7% C 0.110 H 326.5°. Best body text is #FFFFFF at 15.88:1 contrast (WCAG AA passes).

Color values

HEX#3F0841
RGBrgb(63, 8, 65)
HSLhsl(298, 78%, 14%)
HSVhsv(298, 88%, 25%)
CMYKcmyk(3.1%, 87.7%, 0%, 74.5%)
CIE-LABlab(13.30, 33.28, -21.80)
CIE-LCHlch(13.30, 39.78, 326.78°)
OKLaboklab(26.72% 0.0917 -0.0606)
OKLCHoklch(26.72% 0.11 326.5)
XYZxyz(3.0908, 1.6123, 5.1484)
Luminance0.0161 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0841 #0A4108
analogous
#230841 #3F0841 #410827
triadic
#3F0841 #413F08 #08413F
tetradic
#3F0841 #412308 #0A4108 #082741
square
#3F0841 #412308 #0A4108 #082741
split-complementary
#3F0841 #274108 #084123
monochromatic
#1A031B #1A031B #3F0841 #740F77 #A915AE

Accessibility & contrast

On white

15.88
#3F0841 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#3F0841 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0841
15.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0841#FFFFFF#000000##FFFFFF
##3F08411.0015.881.3215.88
#FFFFFF15.881.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E42
Deuteranopia (green-blind)
#172440
Tritanopia (blue-blind)
#411224
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3f0841;
/* rgb */ color: rgb(63, 8, 65);
/* oklch */ color: oklch(26.7% 0.110 326.5);
Tailwind
colors: {
  custom: {
    50: '#774f76',
    500: '#3f0841',
    950: '#000000',
  },
}
SCSS
$custom: #3f0841;
$custom-light: #774f76;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0841",
  "rgb": {
    "r": 63,
    "g": 8,
    "b": 65
  },
  "hsl": {
    "h": 297.895,
    "s": 78.082,
    "l": 14.314
  },
  "oklch": {
    "l": 0.26722,
    "c": 0.10993,
    "h": 326.5
  },
  "luminance": 0.01612
}

Semantic roles & 50–950 ramp

primary
#3F0841
secondary
#297F25
accent
#F5333A
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #3F0841

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

Preview Lab → · Contrast checker → · Palette generator →

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