#3F1640#3F1640

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

Color values

HEX#3F1640
RGBrgb(63, 22, 64)
HSLhsl(299, 49%, 17%)
HSVhsv(299, 66%, 25%)
CMYKcmyk(1.6%, 65.6%, 0%, 74.9%)
CIE-LABlab(15.49, 26.75, -17.63)
CIE-LCHlch(15.49, 32.03, 326.62°)
OKLaboklab(28.28% 0.074 -0.0486)
OKLCHoklch(28.28% 0.089 326.7)
XYZxyz(3.2622, 2.0009, 5.0639)
Luminance0.0200 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1640 #174016
analogous
#2A1640 #3F1640 #40162C
triadic
#3F1640 #403F16 #16403F
tetradic
#3F1640 #402A16 #174016 #162C40
square
#3F1640 #402A16 #174016 #162C40
split-complementary
#3F1640 #2C4016 #16402A
monochromatic
#160817 #160817 #3F1640 #6C266E #99359B

Accessibility & contrast

On white

15.00
#3F1640 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#3F1640 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1640
15.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1640#FFFFFF#000000##FFFFFF
##3F16401.0015.001.4015.00
#FFFFFF15.001.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112341
Deuteranopia (green-blind)
#1F293F
Tritanopia (blue-blind)
#411B28
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3f1640;
/* rgb */ color: rgb(63, 22, 64);
/* oklch */ color: oklch(28.3% 0.089 326.7);
Tailwind
colors: {
  custom: {
    50: '#765675',
    500: '#3f1640',
    950: '#000000',
  },
}
SCSS
$custom: #3f1640;
$custom-light: #765675;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1640",
  "rgb": {
    "r": 63,
    "g": 22,
    "b": 64
  },
  "hsl": {
    "h": 298.571,
    "s": 48.837,
    "l": 16.863
  },
  "oklch": {
    "l": 0.28277,
    "c": 0.08853,
    "h": 326.7
  },
  "luminance": 0.02001
}

Semantic roles & 50–950 ramp

primary
#3F1640
secondary
#3C773B
accent
#D84F53
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#080308
muted
#7B787B

Preview Lab

Preview with #3F1640

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

Preview Lab → · Contrast checker → · Palette generator →

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