#3F1746#3F1746

#3F1746 is a dark, moderate purple. Relative luminance 0.021; OKLCH L 28.8% C 0.093 H 321.4°. Best body text is #FFFFFF at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#3F1746
RGBrgb(63, 23, 70)
HSLhsl(291, 51%, 18%)
HSVhsv(291, 67%, 27%)
CMYKcmyk(10%, 67.1%, 0%, 72.5%)
CIE-LABlab(16.06, 27.53, -20.90)
CIE-LCHlch(16.06, 34.57, 322.79°)
OKLaboklab(28.81% 0.073 -0.0581)
OKLCHoklch(28.81% 0.093 321.4)
XYZxyz(3.4617, 2.1119, 6.0185)
Luminance0.0211 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1746 #1E4617
analogous
#271746 #3F1746 #461735
triadic
#3F1746 #463F17 #17463F
tetradic
#3F1746 #462717 #1E4617 #173546
square
#3F1746 #462717 #1E4617 #173546
split-complementary
#3F1746 #354617 #174627
monochromatic
#150817 #160818 #3F1746 #682674 #9235A2

Accessibility & contrast

On white

14.76
#3F1746 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#3F1746 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1746
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1746#FFFFFF#000000##FFFFFF
##3F17461.0014.761.4214.76
#FFFFFF14.761.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2547
Deuteranopia (green-blind)
#1C2945
Tritanopia (blue-blind)
#401E2C
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3f1746;
/* rgb */ color: rgb(63, 23, 70);
/* oklch */ color: oklch(28.8% 0.093 321.4);
Tailwind
colors: {
  custom: {
    50: '#765779',
    500: '#3f1746',
    950: '#000000',
  },
}
SCSS
$custom: #3f1746;
$custom-light: #765779;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1746",
  "rgb": {
    "r": 63,
    "g": 23,
    "b": 70
  },
  "hsl": {
    "h": 291.064,
    "s": 50.538,
    "l": 18.235
  },
  "oklch": {
    "l": 0.28814,
    "c": 0.0933,
    "h": 321.4
  },
  "luminance": 0.02112
}

Semantic roles & 50–950 ramp

primary
#3F1746
secondary
#457D3C
accent
#DA4E63
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#090309
muted
#7B787B

Preview Lab

Preview with #3F1746

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

Preview Lab → · Contrast checker → · Palette generator →

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