#3F1046#3F1046

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

Color values

HEX#3F1046
RGBrgb(63, 16, 70)
HSLhsl(292, 63%, 17%)
HSVhsv(292, 77%, 27%)
CMYKcmyk(10%, 77.1%, 0%, 72.5%)
CIE-LABlab(14.79, 31.07, -22.93)
CIE-LCHlch(14.79, 38.62, 323.57°)
OKLaboklab(27.89% 0.0826 -0.064)
OKLCHoklch(27.89% 0.104 322.2)
XYZxyz(3.3406, 1.8697, 5.9781)
Luminance0.0187 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1046 #174610
analogous
#241046 #3F1046 #461032
triadic
#3F1046 #463F10 #10463F
tetradic
#3F1046 #462410 #174610 #103246
square
#3F1046 #462410 #174610 #103246
split-complementary
#3F1046 #324610 #104624
monochromatic
#160619 #160619 #3F1046 #6C1B78 #9927AA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F1046#FFFFFF#000000##FFFFFF
##3F10461.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)
#022248
Deuteranopia (green-blind)
#172745
Tritanopia (blue-blind)
#401929
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3f1046;
/* rgb */ color: rgb(63, 16, 70);
/* oklch */ color: oklch(27.9% 0.104 322.2);
Tailwind
colors: {
  custom: {
    50: '#76537a',
    500: '#3f1046',
    950: '#000000',
  },
}
SCSS
$custom: #3f1046;
$custom-light: #76537a;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1046",
  "rgb": {
    "r": 63,
    "g": 16,
    "b": 70
  },
  "hsl": {
    "h": 292.222,
    "s": 62.791,
    "l": 16.863
  },
  "oklch": {
    "l": 0.27893,
    "c": 0.10446,
    "h": 322.2
  },
  "luminance": 0.0187
}

Semantic roles & 50–950 ramp

primary
#3F1046
secondary
#3C8032
accent
#E64257
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090309
muted
#7B787B

Preview Lab

Preview with #3F1046

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

Preview Lab → · Contrast checker → · Palette generator →

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