#3F1047#3F1047

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

Color values

HEX#3F1047
RGBrgb(63, 16, 71)
HSLhsl(291, 63%, 17%)
HSVhsv(291, 77%, 28%)
CMYKcmyk(11.3%, 77.5%, 0%, 72.2%)
CIE-LABlab(14.86, 31.29, -23.51)
CIE-LCHlch(14.86, 39.14, 323.08°)
OKLaboklab(27.97% 0.0825 -0.0657)
OKLCHoklch(27.97% 0.105 321.5)
XYZxyz(3.3724, 1.8825, 6.1457)
Luminance0.0188 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1047 #184710
analogous
#241047 #3F1047 #471034
triadic
#3F1047 #473F10 #10473F
tetradic
#3F1047 #472410 #184710 #103447
square
#3F1047 #472410 #184710 #103447
split-complementary
#3F1047 #344710 #104724
monochromatic
#160619 #160619 #3F1047 #6B1B79 #9827AB

Accessibility & contrast

On white

15.26
#3F1047 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F1047
15.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1047#FFFFFF#000000##FFFFFF
##3F10471.0015.261.3815.26
#FFFFFF15.261.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002249
Deuteranopia (green-blind)
#172746
Tritanopia (blue-blind)
#401A2A
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3f1047;
/* rgb */ color: rgb(63, 16, 71);
/* oklch */ color: oklch(28.0% 0.105 321.5);
Tailwind
colors: {
  custom: {
    50: '#76537a',
    500: '#3f1047',
    950: '#000000',
  },
}
SCSS
$custom: #3f1047;
$custom-light: #76537a;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1047",
  "rgb": {
    "r": 63,
    "g": 16,
    "b": 71
  },
  "hsl": {
    "h": 291.273,
    "s": 63.218,
    "l": 17.059
  },
  "oklch": {
    "l": 0.27965,
    "c": 0.10548,
    "h": 321.5
  },
  "luminance": 0.01882
}

Semantic roles & 50–950 ramp

primary
#3F1047
secondary
#3D8132
accent
#E6425A
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090309
muted
#7B787B

Preview Lab

Preview with #3F1047

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

Preview Lab → · Contrast checker → · Palette generator →

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