#3F1346#3F1346

#3F1346 is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.3% C 0.100 H 321.9°. Best body text is #FFFFFF at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#3F1346
RGBrgb(63, 19, 70)
HSLhsl(292, 57%, 17%)
HSVhsv(292, 73%, 27%)
CMYKcmyk(10%, 72.9%, 0%, 72.5%)
CIE-LABlab(15.30, 29.63, -22.11)
CIE-LCHlch(15.30, 36.97, 323.27°)
OKLaboklab(28.26% 0.0787 -0.0616)
OKLCHoklch(28.26% 0.1 321.9)
XYZxyz(3.3881, 1.9649, 5.9940)
Luminance0.0197 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1346 #1A4613
analogous
#261346 #3F1346 #461333
triadic
#3F1346 #463F13 #13463F
tetradic
#3F1346 #462613 #1A4613 #133346
square
#3F1346 #462613 #1A4613 #133346
split-complementary
#3F1346 #334613 #134626
monochromatic
#160718 #160718 #3F1346 #6A2076 #962DA6

Accessibility & contrast

On white

15.08
#3F1346 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F1346
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1346#FFFFFF#000000##FFFFFF
##3F13461.0015.081.3915.08
#FFFFFF15.081.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f1346;
/* rgb */ color: rgb(63, 19, 70);
/* oklch */ color: oklch(28.3% 0.100 321.9);
Tailwind
colors: {
  custom: {
    50: '#76557a',
    500: '#3f1346',
    950: '#000000',
  },
}
SCSS
$custom: #3f1346;
$custom-light: #76557a;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1346",
  "rgb": {
    "r": 63,
    "g": 19,
    "b": 70
  },
  "hsl": {
    "h": 291.765,
    "s": 57.303,
    "l": 17.451
  },
  "oklch": {
    "l": 0.28262,
    "c": 0.09993,
    "h": 321.9
  },
  "luminance": 0.01965
}

Semantic roles & 50–950 ramp

primary
#3F1346
secondary
#407F36
accent
#E1475C
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#090309
muted
#7B787B

Preview Lab

Preview with #3F1346

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

Preview Lab → · Contrast checker → · Palette generator →

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