#3F1048#3F1048

#3F1048 is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.0% C 0.107 H 320.7°. Best body text is #FFFFFF at 15.23:1 contrast (WCAG AA passes).

Color values

HEX#3F1048
RGBrgb(63, 16, 72)
HSLhsl(290, 64%, 17%)
HSVhsv(290, 78%, 28%)
CMYKcmyk(12.5%, 77.8%, 0%, 71.8%)
CIE-LABlab(14.93, 31.51, -24.10)
CIE-LCHlch(14.93, 39.67, 322.60°)
OKLaboklab(28.04% 0.0825 -0.0674)
OKLCHoklch(28.04% 0.107 320.7)
XYZxyz(3.4048, 1.8954, 6.3161)
Luminance0.0190 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1048 #194810
analogous
#231048 #3F1048 #481035
triadic
#3F1048 #483F10 #10483F
tetradic
#3F1048 #482310 #194810 #103548
square
#3F1048 #482310 #194810 #103548
split-complementary
#3F1048 #354810 #104823
monochromatic
#160619 #160619 #3F1048 #6B1B7A #9726AC

Accessibility & contrast

On white

15.23
#3F1048 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#3F1048 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1048
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1048#FFFFFF#000000##FFFFFF
##3F10481.0015.231.3815.23
#FFFFFF15.231.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224A
Deuteranopia (green-blind)
#162747
Tritanopia (blue-blind)
#3F1A2A
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3f1048;
/* rgb */ color: rgb(63, 16, 72);
/* oklch */ color: oklch(28.0% 0.107 320.7);
Tailwind
colors: {
  custom: {
    50: '#76537b',
    500: '#3f1048',
    950: '#000000',
  },
}
SCSS
$custom: #3f1048;
$custom-light: #76537b;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1048",
  "rgb": {
    "r": 63,
    "g": 16,
    "b": 72
  },
  "hsl": {
    "h": 290.357,
    "s": 63.636,
    "l": 17.255
  },
  "oklch": {
    "l": 0.28038,
    "c": 0.10651,
    "h": 320.7
  },
  "luminance": 0.01895
}

Semantic roles & 50–950 ramp

primary
#3F1048
secondary
#3F8232
accent
#E7415C
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#090309
muted
#7B787B

Preview Lab

Preview with #3F1048

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

Preview Lab → · Contrast checker → · Palette generator →

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