#3F1340#3F1340

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

Color values

HEX#3F1340
RGBrgb(63, 19, 64)
HSLhsl(299, 54%, 16%)
HSVhsv(299, 70%, 25%)
CMYKcmyk(1.6%, 70.3%, 0%, 74.9%)
CIE-LABlab(14.91, 28.33, -18.54)
CIE-LCHlch(14.91, 33.86, 326.81°)
OKLaboklab(27.86% 0.0784 -0.0512)
OKLCHoklch(27.86% 0.094 326.8)
XYZxyz(3.2081, 1.8929, 5.0459)
Luminance0.0189 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1340 #144013
analogous
#291340 #3F1340 #40132B
triadic
#3F1340 #403F13 #13403F
tetradic
#3F1340 #402913 #144013 #132B40
square
#3F1340 #402913 #144013 #132B40
split-complementary
#3F1340 #2B4013 #134029
monochromatic
#170718 #170718 #3F1340 #6D216F #9C2F9E

Accessibility & contrast

On white

15.23
#3F1340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F1340
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1340#FFFFFF#000000##FFFFFF
##3F13401.0015.231.3815.23
#FFFFFF15.231.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2241
Deuteranopia (green-blind)
#1D273F
Tritanopia (blue-blind)
#411927
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3f1340;
/* rgb */ color: rgb(63, 19, 64);
/* oklch */ color: oklch(27.9% 0.094 326.8);
Tailwind
colors: {
  custom: {
    50: '#765475',
    500: '#3f1340',
    950: '#000000',
  },
}
SCSS
$custom: #3f1340;
$custom-light: #765475;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1340",
  "rgb": {
    "r": 63,
    "g": 19,
    "b": 64
  },
  "hsl": {
    "h": 298.667,
    "s": 54.217,
    "l": 16.275
  },
  "oklch": {
    "l": 0.27857,
    "c": 0.09368,
    "h": 326.8
  },
  "luminance": 0.01893
}

Semantic roles & 50–950 ramp

primary
#3F1340
secondary
#387936
accent
#DE4A4D
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#090308
muted
#7B787B

Preview Lab

Preview with #3F1340

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

Preview Lab → · Contrast checker → · Palette generator →

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