#3F1247#3F1247

#3F1247 is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.2% C 0.103 H 321.3°. Best body text is #FFFFFF at 15.12:1 contrast (WCAG AA passes).

Color values

HEX#3F1247
RGBrgb(63, 18, 71)
HSLhsl(291, 60%, 17%)
HSVhsv(291, 75%, 28%)
CMYKcmyk(11.3%, 74.6%, 0%, 72.2%)
CIE-LABlab(15.19, 30.35, -22.98)
CIE-LCHlch(15.19, 38.07, 322.87°)
OKLaboklab(28.21% 0.08 -0.0642)
OKLCHoklch(28.21% 0.103 321.3)
XYZxyz(3.4034, 1.9445, 6.1561)
Luminance0.0194 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1247 #1A4712
analogous
#241247 #3F1247 #471235
triadic
#3F1247 #473F12 #12473F
tetradic
#3F1247 #472412 #1A4712 #123547
square
#3F1247 #472412 #1A4712 #123547
split-complementary
#3F1247 #354712 #124724
monochromatic
#160618 #160618 #3F1247 #6A1E78 #962BA9

Accessibility & contrast

On white

15.12
#3F1247 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#3F1247 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1247
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1247#FFFFFF#000000##FFFFFF
##3F12471.0015.121.3915.12
#FFFFFF15.121.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032349
Deuteranopia (green-blind)
#182846
Tritanopia (blue-blind)
#401B2A
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3f1247;
/* rgb */ color: rgb(63, 18, 71);
/* oklch */ color: oklch(28.2% 0.103 321.3);
Tailwind
colors: {
  custom: {
    50: '#76547a',
    500: '#3f1247',
    950: '#000000',
  },
}
SCSS
$custom: #3f1247;
$custom-light: #76547a;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1247",
  "rgb": {
    "r": 63,
    "g": 18,
    "b": 71
  },
  "hsl": {
    "h": 290.943,
    "s": 59.551,
    "l": 17.451
  },
  "oklch": {
    "l": 0.28206,
    "c": 0.10253,
    "h": 321.3
  },
  "luminance": 0.01944
}

Semantic roles & 50–950 ramp

primary
#3F1247
secondary
#408035
accent
#E3455D
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#090309
muted
#7B787B

Preview Lab

Preview with #3F1247

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

Preview Lab → · Contrast checker → · Palette generator →

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