#3F1142#3F1142

#3F1142 is a dark, moderate purple. Relative luminance 0.019; OKLCH L 27.7% C 0.099 H 325.3°. Best body text is #FFFFFF at 15.33:1 contrast (WCAG AA passes).

Color values

HEX#3F1142
RGBrgb(63, 17, 66)
HSLhsl(296, 59%, 16%)
HSVhsv(296, 74%, 26%)
CMYKcmyk(4.5%, 74.2%, 0%, 74.1%)
CIE-LABlab(14.69, 29.75, -20.30)
CIE-LCHlch(14.69, 36.01, 325.69°)
OKLaboklab(27.73% 0.0813 -0.0563)
OKLCHoklch(27.73% 0.099 325.3)
XYZxyz(3.2336, 1.8512, 5.3402)
Luminance0.0185 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1142 #144211
analogous
#271142 #3F1142 #42112D
triadic
#3F1142 #423F11 #11423F
tetradic
#3F1142 #422711 #144211 #112D42
square
#3F1142 #422711 #144211 #112D42
split-complementary
#3F1142 #2D4211 #114227
monochromatic
#170618 #170618 #3F1142 #6D1E73 #9C2AA3

Accessibility & contrast

On white

15.33
#3F1142 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#3F1142 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1142
15.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1142#FFFFFF#000000##FFFFFF
##3F11421.0015.331.3715.33
#FFFFFF15.331.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082143
Deuteranopia (green-blind)
#1B2741
Tritanopia (blue-blind)
#411827
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3f1142;
/* rgb */ color: rgb(63, 17, 66);
/* oklch */ color: oklch(27.7% 0.099 325.3);
Tailwind
colors: {
  custom: {
    50: '#765376',
    500: '#3f1142',
    950: '#000000',
  },
}
SCSS
$custom: #3f1142;
$custom-light: #765376;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1142",
  "rgb": {
    "r": 63,
    "g": 17,
    "b": 66
  },
  "hsl": {
    "h": 296.327,
    "s": 59.036,
    "l": 16.275
  },
  "oklch": {
    "l": 0.27732,
    "c": 0.09891,
    "h": 325.3
  },
  "luminance": 0.01851
}

Semantic roles & 50–950 ramp

primary
#3F1142
secondary
#387C33
accent
#E2464F
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090308
muted
#7B787B

Preview Lab

Preview with #3F1142

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

Preview Lab → · Contrast checker → · Palette generator →

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