#3F1241#3F1241

#3F1241 is a dark, moderate purple. Relative luminance 0.019; OKLCH L 27.8% C 0.096 H 326.0°. Best body text is #FFFFFF at 15.28:1 contrast (WCAG AA passes).

Color values

HEX#3F1241
RGBrgb(63, 18, 65)
HSLhsl(297, 57%, 16%)
HSVhsv(297, 72%, 25%)
CMYKcmyk(3.1%, 72.3%, 0%, 74.5%)
CIE-LABlab(14.80, 29.05, -19.43)
CIE-LCHlch(14.80, 34.95, 326.23°)
OKLaboklab(27.79% 0.0799 -0.0538)
OKLCHoklch(27.79% 0.096 326)
XYZxyz(3.2203, 1.8712, 5.1916)
Luminance0.0187 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1241 #144112
analogous
#281241 #3F1241 #41122C
triadic
#3F1241 #413F12 #12413F
tetradic
#3F1241 #412812 #144112 #122C41
square
#3F1241 #412812 #144112 #122C41
split-complementary
#3F1241 #2C4112 #124128
monochromatic
#170718 #170718 #3F1241 #6D1F71 #9C2DA1

Accessibility & contrast

On white

15.28
#3F1241 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F1241
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1241#FFFFFF#000000##FFFFFF
##3F12411.0015.281.3715.28
#FFFFFF15.281.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2242
Deuteranopia (green-blind)
#1C2740
Tritanopia (blue-blind)
#411927
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3f1241;
/* rgb */ color: rgb(63, 18, 65);
/* oklch */ color: oklch(27.8% 0.096 326.0);
Tailwind
colors: {
  custom: {
    50: '#765476',
    500: '#3f1241',
    950: '#000000',
  },
}
SCSS
$custom: #3f1241;
$custom-light: #765476;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1241",
  "rgb": {
    "r": 63,
    "g": 18,
    "b": 65
  },
  "hsl": {
    "h": 297.447,
    "s": 56.627,
    "l": 16.275
  },
  "oklch": {
    "l": 0.27791,
    "c": 0.09632,
    "h": 326
  },
  "luminance": 0.01871
}

Semantic roles & 50–950 ramp

primary
#3F1241
secondary
#387A35
accent
#E0484E
background
#F7F4F7
surface
#EDE8ED
border
#C8C4C8
text
#090308
muted
#7B787B

Preview Lab

Preview with #3F1241

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

Preview Lab → · Contrast checker → · Palette generator →

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