#3F1845#3F1845

#3F1845 is a dark, moderate purple. Relative luminance 0.021; OKLCH L 28.9% C 0.090 H 322.1°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#3F1845
RGBrgb(63, 24, 69)
HSLhsl(292, 48%, 18%)
HSVhsv(292, 65%, 27%)
CMYKcmyk(8.7%, 65.2%, 0%, 72.9%)
CIE-LABlab(16.20, 26.75, -19.99)
CIE-LCHlch(16.20, 33.39, 323.23°)
OKLaboklab(28.9% 0.0714 -0.0555)
OKLCHoklch(28.9% 0.09 322.1)
XYZxyz(3.4506, 2.1399, 5.8604)
Luminance0.0214 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1845 #1E4518
analogous
#281845 #3F1845 #451834
triadic
#3F1845 #453F18 #18453F
tetradic
#3F1845 #452818 #1E4518 #183445
square
#3F1845 #452818 #1E4518 #183445
split-complementary
#3F1845 #344518 #184528
monochromatic
#150817 #160818 #3F1845 #682872 #9238A0

Accessibility & contrast

On white

14.71
#3F1845 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#3F1845 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1845
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1845#FFFFFF#000000##FFFFFF
##3F18451.0014.711.4314.71
#FFFFFF14.711.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102546
Deuteranopia (green-blind)
#1D2A44
Tritanopia (blue-blind)
#401F2B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3f1845;
/* rgb */ color: rgb(63, 24, 69);
/* oklch */ color: oklch(28.9% 0.090 322.1);
Tailwind
colors: {
  custom: {
    50: '#765779',
    500: '#3f1845',
    950: '#000000',
  },
}
SCSS
$custom: #3f1845;
$custom-light: #765779;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1845",
  "rgb": {
    "r": 63,
    "g": 24,
    "b": 69
  },
  "hsl": {
    "h": 292,
    "s": 48.387,
    "l": 18.235
  },
  "oklch": {
    "l": 0.28896,
    "c": 0.09042,
    "h": 322.1
  },
  "luminance": 0.0214
}

Semantic roles & 50–950 ramp

primary
#3F1845
secondary
#457C3D
accent
#D85062
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#080309
muted
#7B787B

Preview Lab

Preview with #3F1845

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

Preview Lab → · Contrast checker → · Palette generator →

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