#3F1844#3F1844

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

Color values

HEX#3F1844
RGBrgb(63, 24, 68)
HSLhsl(293, 48%, 18%)
HSVhsv(293, 65%, 27%)
CMYKcmyk(7.4%, 64.7%, 0%, 73.3%)
CIE-LABlab(16.14, 26.52, -19.39)
CIE-LCHlch(16.14, 32.85, 323.83°)
OKLaboklab(28.83% 0.0713 -0.0538)
OKLCHoklch(28.83% 0.089 323)
XYZxyz(3.4198, 2.1276, 5.6982)
Luminance0.0213 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1844 #1D4418
analogous
#291844 #3F1844 #441833
triadic
#3F1844 #443F18 #18443F
tetradic
#3F1844 #442918 #1D4418 #183344
square
#3F1844 #442918 #1D4418 #183344
split-complementary
#3F1844 #334418 #184429
monochromatic
#150817 #150817 #3F1844 #692871 #93389E

Accessibility & contrast

On white

14.73
#3F1844 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F1844
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1844#FFFFFF#000000##FFFFFF
##3F18441.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102545
Deuteranopia (green-blind)
#1E2A43
Tritanopia (blue-blind)
#401E2B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3f1844;
/* rgb */ color: rgb(63, 24, 68);
/* oklch */ color: oklch(28.8% 0.089 323.0);
Tailwind
colors: {
  custom: {
    50: '#765778',
    500: '#3f1844',
    950: '#000000',
  },
}
SCSS
$custom: #3f1844;
$custom-light: #765778;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1844",
  "rgb": {
    "r": 63,
    "g": 24,
    "b": 68
  },
  "hsl": {
    "h": 293.182,
    "s": 47.826,
    "l": 18.039
  },
  "oklch": {
    "l": 0.28831,
    "c": 0.0893,
    "h": 323
  },
  "luminance": 0.02127
}

Semantic roles & 50–950 ramp

primary
#3F1844
secondary
#447B3D
accent
#D75060
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#080309
muted
#7B787B

Preview Lab

Preview with #3F1844

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

Preview Lab → · Contrast checker → · Palette generator →

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