#3F0940#3F0940

#3F0940 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.7% C 0.108 H 327.3°. Best body text is #FFFFFF at 15.86:1 contrast (WCAG AA passes).

Color values

HEX#3F0940
RGBrgb(63, 9, 64)
HSLhsl(299, 75%, 14%)
HSVhsv(299, 86%, 25%)
CMYKcmyk(1.6%, 85.9%, 0%, 74.9%)
CIE-LABlab(13.37, 32.71, -20.99)
CIE-LCHlch(13.37, 38.86, 327.31°)
OKLaboklab(26.74% 0.0907 -0.0583)
OKLCHoklch(26.74% 0.108 327.3)
XYZxyz(3.0730, 1.6225, 5.0008)
Luminance0.0162 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0940 #0A4009
analogous
#240940 #3F0940 #400926
triadic
#3F0940 #403F09 #09403F
tetradic
#3F0940 #402409 #0A4009 #092640
square
#3F0940 #402409 #0A4009 #092640
split-complementary
#3F0940 #264009 #094024
monochromatic
#1A041B #1A041B #3F0940 #741176 #A918AB

Accessibility & contrast

On white

15.86
#3F0940 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#3F0940 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0940
15.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0940#FFFFFF#000000##FFFFFF
##3F09401.0015.861.3215.86
#FFFFFF15.861.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E41
Deuteranopia (green-blind)
#18253F
Tritanopia (blue-blind)
#411224
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3f0940;
/* rgb */ color: rgb(63, 9, 64);
/* oklch */ color: oklch(26.7% 0.108 327.3);
Tailwind
colors: {
  custom: {
    50: '#775075',
    500: '#3f0940',
    950: '#000000',
  },
}
SCSS
$custom: #3f0940;
$custom-light: #775075;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0940",
  "rgb": {
    "r": 63,
    "g": 9,
    "b": 64
  },
  "hsl": {
    "h": 298.909,
    "s": 75.342,
    "l": 14.314
  },
  "oklch": {
    "l": 0.26743,
    "c": 0.10781,
    "h": 327.3
  },
  "luminance": 0.01622
}

Semantic roles & 50–950 ramp

primary
#3F0940
secondary
#297E27
accent
#F23639
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #3F0940

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

Preview Lab → · Contrast checker → · Palette generator →

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