#3F0939#3F0939

#3F0939 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.3% C 0.102 H 333.1°. Best body text is #FFFFFF at 16.04:1 contrast (WCAG AA passes).

Color values

HEX#3F0939
RGBrgb(63, 9, 57)
HSLhsl(307, 75%, 14%)
HSVhsv(307, 86%, 25%)
CMYKcmyk(0%, 85.7%, 9.5%, 75.3%)
CIE-LABlab(12.91, 31.38, -16.74)
CIE-LCHlch(12.91, 35.57, 331.93°)
OKLaboklab(26.27% 0.0906 -0.0459)
OKLCHoklch(26.27% 0.102 333.1)
XYZxyz(2.8861, 1.5478, 4.0169)
Luminance0.0155 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0939 #093F0F
analogous
#2A093F #3F0939 #3F091E
triadic
#3F0939 #393F09 #09393F
tetradic
#3F0939 #3F2A09 #093F0F #091E3F
square
#3F0939 #3F2A09 #093F0F #091E3F
split-complementary
#3F0939 #1E3F09 #093F2A
monochromatic
#1B0418 #1B0418 #3F0939 #751169 #AA189A

Accessibility & contrast

On white

16.04
#3F0939 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#3F0939 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0939
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0939#FFFFFF#000000##FFFFFF
##3F09391.0016.041.3116.04
#FFFFFF16.041.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071C3A
Deuteranopia (green-blind)
#1B2438
Tritanopia (blue-blind)
#420F20
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #3f0939;
/* rgb */ color: rgb(63, 9, 57);
/* oklch */ color: oklch(26.3% 0.102 333.1);
Tailwind
colors: {
  custom: {
    50: '#764f6f',
    500: '#3f0939',
    950: '#000000',
  },
}
SCSS
$custom: #3f0939;
$custom-light: #764f6f;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0939",
  "rgb": {
    "r": 63,
    "g": 9,
    "b": 57
  },
  "hsl": {
    "h": 306.667,
    "s": 75,
    "l": 14.118
  },
  "oklch": {
    "l": 0.26268,
    "c": 0.10162,
    "h": 333.1
  },
  "luminance": 0.01548
}

Semantic roles & 50–950 ramp

primary
#3F0939
secondary
#277D30
accent
#F24B36
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#090207
muted
#7B787A

Preview Lab

Preview with #3F0939

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

Preview Lab → · Contrast checker → · Palette generator →

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