#3F1745#3F1745

#3F1745 is a dark, moderate purple. Relative luminance 0.021; OKLCH L 28.7% C 0.092 H 322.3°. Best body text is #FFFFFF at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#3F1745
RGBrgb(63, 23, 69)
HSLhsl(292, 50%, 18%)
HSVhsv(292, 67%, 27%)
CMYKcmyk(8.7%, 66.7%, 0%, 72.9%)
CIE-LABlab(16.00, 27.30, -20.31)
CIE-LCHlch(16.00, 34.03, 323.36°)
OKLaboklab(28.75% 0.0729 -0.0564)
OKLCHoklch(28.75% 0.092 322.3)
XYZxyz(3.4304, 2.0994, 5.8536)
Luminance0.0210 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1745 #1D4517
analogous
#281745 #3F1745 #451734
triadic
#3F1745 #453F17 #17453F
tetradic
#3F1745 #452817 #1D4517 #173445
square
#3F1745 #452817 #1D4517 #173445
split-complementary
#3F1745 #344517 #174528
monochromatic
#150817 #150817 #3F1745 #692673 #9336A1

Accessibility & contrast

On white

14.79
#3F1745 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F1745
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1745#FFFFFF#000000##FFFFFF
##3F17451.0014.791.4214.79
#FFFFFF14.791.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2546
Deuteranopia (green-blind)
#1D2944
Tritanopia (blue-blind)
#401E2B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3f1745;
/* rgb */ color: rgb(63, 23, 69);
/* oklch */ color: oklch(28.7% 0.092 322.3);
Tailwind
colors: {
  custom: {
    50: '#765779',
    500: '#3f1745',
    950: '#000000',
  },
}
SCSS
$custom: #3f1745;
$custom-light: #765779;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1745",
  "rgb": {
    "r": 63,
    "g": 23,
    "b": 69
  },
  "hsl": {
    "h": 292.174,
    "s": 50,
    "l": 18.039
  },
  "oklch": {
    "l": 0.28747,
    "c": 0.09218,
    "h": 322.3
  },
  "luminance": 0.02099
}

Semantic roles & 50–950 ramp

primary
#3F1745
secondary
#447C3C
accent
#DA4E60
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#080309
muted
#7B787B

Preview Lab

Preview with #3F1745

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

Preview Lab → · Contrast checker → · Palette generator →

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