#3F0839#3F0839

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

Color values

HEX#3F0839
RGBrgb(63, 8, 57)
HSLhsl(307, 77%, 14%)
HSVhsv(307, 87%, 25%)
CMYKcmyk(0%, 87.3%, 9.5%, 75.3%)
CIE-LABlab(12.77, 31.77, -16.95)
CIE-LCHlch(12.77, 36.01, 331.92°)
OKLaboklab(26.17% 0.0918 -0.0466)
OKLCHoklch(26.17% 0.103 333.1)
XYZxyz(2.8753, 1.5261, 4.0132)
Luminance0.0153 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0839 #083F0E
analogous
#2A083F #3F0839 #3F081E
triadic
#3F0839 #393F08 #08393F
tetradic
#3F0839 #3F2A08 #083F0E #081E3F
square
#3F0839 #3F2A08 #083F0E #081E3F
split-complementary
#3F0839 #1E3F08 #083F2A
monochromatic
#1B0319 #1B0319 #3F0839 #750F6A #AC169B

Accessibility & contrast

On white

16.09
#3F0839 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F0839
16.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0839#FFFFFF#000000##FFFFFF
##3F08391.0016.091.3116.09
#FFFFFF16.091.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f0839;
/* rgb */ color: rgb(63, 8, 57);
/* oklch */ color: oklch(26.2% 0.103 333.1);
Tailwind
colors: {
  custom: {
    50: '#774f6f',
    500: '#3f0839',
    950: '#000000',
  },
}
SCSS
$custom: #3f0839;
$custom-light: #774f6f;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0839",
  "rgb": {
    "r": 63,
    "g": 8,
    "b": 57
  },
  "hsl": {
    "h": 306.545,
    "s": 77.465,
    "l": 13.922
  },
  "oklch": {
    "l": 0.26171,
    "c": 0.10291,
    "h": 333.1
  },
  "luminance": 0.01526
}

Semantic roles & 50–950 ramp

primary
#3F0839
secondary
#257E2F
accent
#F44934
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#090207
muted
#7B787A

Preview Lab

Preview with #3F0839

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

Preview Lab → · Contrast checker → · Palette generator →

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