#3F0439#3F0439

#3F0439 is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.8% C 0.108 H 333.1°. Best body text is #FFFFFF at 16.31:1 contrast (WCAG AA passes).

Color values

HEX#3F0439
RGBrgb(63, 4, 57)
HSLhsl(306, 88%, 13%)
HSVhsv(306, 94%, 25%)
CMYKcmyk(0%, 93.7%, 9.5%, 75.3%)
CIE-LABlab(12.22, 33.38, -17.83)
CIE-LCHlch(12.22, 37.85, 331.89°)
OKLaboklab(25.77% 0.0965 -0.0491)
OKLCHoklch(25.77% 0.108 333.1)
XYZxyz(2.8319, 1.4393, 3.9988)
Luminance0.0144 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0439 #043F0A
analogous
#27043F #3F0439 #3F041B
triadic
#3F0439 #393F04 #04393F
tetradic
#3F0439 #3F2704 #043F0A #041B3F
square
#3F0439 #3F2704 #043F0A #041B3F
split-complementary
#3F0439 #1B3F04 #043F27
monochromatic
#1D021A #1D021A #3F0439 #79086D #B20BA1

Accessibility & contrast

On white

16.31
#3F0439 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#3F0439 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0439
16.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0439#FFFFFF#000000##FFFFFF
##3F04391.0016.311.2916.31
#FFFFFF16.311.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021B3A
Deuteranopia (green-blind)
#192338
Tritanopia (blue-blind)
#420B1F
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #3f0439;
/* rgb */ color: rgb(63, 4, 57);
/* oklch */ color: oklch(25.8% 0.108 333.1);
Tailwind
colors: {
  custom: {
    50: '#774d6f',
    500: '#3f0439',
    950: '#000000',
  },
}
SCSS
$custom: #3f0439;
$custom-light: #774d6f;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0439",
  "rgb": {
    "r": 63,
    "g": 4,
    "b": 57
  },
  "hsl": {
    "h": 306.102,
    "s": 88.06,
    "l": 13.137
  },
  "oklch": {
    "l": 0.25774,
    "c": 0.10825,
    "h": 333.1
  },
  "luminance": 0.01439
}

Semantic roles & 50–950 ramp

primary
#3F0439
secondary
#1E8028
accent
#FE3F2A
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#090207
muted
#7B787A

Preview Lab

Preview with #3F0439

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

Preview Lab → · Contrast checker → · Palette generator →

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