#3F1A4E#3F1A4E

#3F1A4E is a dark, moderate purple. Relative luminance 0.023; OKLCH L 29.8% C 0.097 H 315.0°. Best body text is #FFFFFF at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#3F1A4E
RGBrgb(63, 26, 78)
HSLhsl(283, 50%, 20%)
HSVhsv(283, 67%, 31%)
CMYKcmyk(19.2%, 66.7%, 0%, 69.4%)
CIE-LABlab(17.21, 27.75, -24.58)
CIE-LCHlch(17.21, 37.08, 318.47°)
OKLaboklab(29.82% 0.0688 -0.0689)
OKLCHoklch(29.82% 0.097 315)
XYZxyz(3.7942, 2.3457, 7.4592)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1A4E #294E1A
analogous
#251A4E #3F1A4E #4E1A43
triadic
#3F1A4E #4E3F1A #1A4E3F
tetradic
#3F1A4E #4E251A #294E1A #1A434E
square
#3F1A4E #4E251A #294E1A #1A434E
split-complementary
#3F1A4E #434E1A #1A4E25
monochromatic
#130817 #1A0B20 #3F1A4E #64297C #8939AA

Accessibility & contrast

On white

14.29
#3F1A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#3F1A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1A4E
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1A4E#FFFFFF#000000##FFFFFF
##3F1A4E1.0014.291.4714.29
#FFFFFF14.291.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092850
Deuteranopia (green-blind)
#192B4D
Tritanopia (blue-blind)
#3E2331
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3f1a4e;
/* rgb */ color: rgb(63, 26, 78);
/* oklch */ color: oklch(29.8% 0.097 315.0);
Tailwind
colors: {
  custom: {
    50: '#765980',
    500: '#3f1a4e',
    950: '#000000',
  },
}
SCSS
$custom: #3f1a4e;
$custom-light: #765980;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1a4e",
  "rgb": {
    "r": 63,
    "g": 26,
    "b": 78
  },
  "hsl": {
    "h": 282.692,
    "s": 50,
    "l": 20.392
  },
  "oklch": {
    "l": 0.29815,
    "c": 0.09738,
    "h": 315
  },
  "luminance": 0.02346
}

Semantic roles & 50–950 ramp

primary
#3F1A4E
secondary
#538440
accent
#DA4E76
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3F1A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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