#3F1246#3F1246

#3F1246 is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.1% C 0.101 H 322.0°. Best body text is #FFFFFF at 15.15:1 contrast (WCAG AA passes).

Color values

HEX#3F1246
RGBrgb(63, 18, 70)
HSLhsl(292, 59%, 17%)
HSVhsv(292, 74%, 27%)
CMYKcmyk(10%, 74.3%, 0%, 72.5%)
CIE-LABlab(15.13, 30.13, -22.39)
CIE-LCHlch(15.13, 37.54, 323.38°)
OKLaboklab(28.13% 0.08 -0.0624)
OKLCHoklch(28.13% 0.101 322)
XYZxyz(3.3716, 1.9318, 5.9884)
Luminance0.0193 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1246 #194612
analogous
#251246 #3F1246 #461233
triadic
#3F1246 #463F12 #12463F
tetradic
#3F1246 #462512 #194612 #123346
square
#3F1246 #462512 #194612 #123346
split-complementary
#3F1246 #334612 #124625
monochromatic
#160618 #160618 #3F1246 #6B1F77 #972BA7

Accessibility & contrast

On white

15.15
#3F1246 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F1246
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1246#FFFFFF#000000##FFFFFF
##3F12461.0015.151.3915.15
#FFFFFF15.151.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f1246;
/* rgb */ color: rgb(63, 18, 70);
/* oklch */ color: oklch(28.1% 0.101 322.0);
Tailwind
colors: {
  custom: {
    50: '#76547a',
    500: '#3f1246',
    950: '#000000',
  },
}
SCSS
$custom: #3f1246;
$custom-light: #76547a;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1246",
  "rgb": {
    "r": 63,
    "g": 18,
    "b": 70
  },
  "hsl": {
    "h": 291.923,
    "s": 59.091,
    "l": 17.255
  },
  "oklch": {
    "l": 0.28134,
    "c": 0.10149,
    "h": 322
  },
  "luminance": 0.01932
}

Semantic roles & 50–950 ramp

primary
#3F1246
secondary
#3F7F35
accent
#E2465B
background
#F7F5F7
surface
#EDE8ED
border
#C8C4C8
text
#090309
muted
#7B787B

Preview Lab

Preview with #3F1246

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

Preview Lab → · Contrast checker → · Palette generator →

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