#3F1149#3F1149

#3F1149 is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.2% C 0.106 H 319.9°. Best body text is #FFFFFF at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#3F1149
RGBrgb(63, 17, 73)
HSLhsl(289, 62%, 18%)
HSVhsv(289, 77%, 29%)
CMYKcmyk(13.7%, 76.7%, 0%, 71.4%)
CIE-LABlab(15.16, 31.27, -24.41)
CIE-LCHlch(15.16, 39.67, 322.02°)
OKLaboklab(28.23% 0.0812 -0.0683)
OKLCHoklch(28.23% 0.106 319.9)
XYZxyz(3.4528, 1.9389, 6.4944)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1149 #1B4911
analogous
#231149 #3F1149 #491137
triadic
#3F1149 #493F11 #11493F
tetradic
#3F1149 #492311 #1B4911 #113749
square
#3F1149 #492311 #1B4911 #113749
split-complementary
#3F1149 #374911 #114923
monochromatic
#150619 #150619 #3F1149 #6A1D7B #9528AC

Accessibility & contrast

On white

15.13
#3F1149 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#3F1149 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1149
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1149#FFFFFF#000000##FFFFFF
##3F11491.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234B
Deuteranopia (green-blind)
#162848
Tritanopia (blue-blind)
#3F1B2B
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3f1149;
/* rgb */ color: rgb(63, 17, 73);
/* oklch */ color: oklch(28.2% 0.106 319.9);
Tailwind
colors: {
  custom: {
    50: '#76547c',
    500: '#3f1149',
    950: '#000000',
  },
}
SCSS
$custom: #3f1149;
$custom-light: #76547c;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1149",
  "rgb": {
    "r": 63,
    "g": 17,
    "b": 73
  },
  "hsl": {
    "h": 289.286,
    "s": 62.222,
    "l": 17.647
  },
  "oklch": {
    "l": 0.28229,
    "c": 0.10611,
    "h": 319.9
  },
  "luminance": 0.01939
}

Semantic roles & 50–950 ramp

primary
#3F1149
secondary
#418233
accent
#E54360
background
#F7F5F7
surface
#EDE8EE
border
#C8C4C9
text
#090309
muted
#7B787B

Preview Lab

Preview with #3F1149

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

Preview Lab → · Contrast checker → · Palette generator →

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