#3F183D#3F183D

#3F183D is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.4% C 0.082 H 329.5°. Best body text is #FFFFFF at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#3F183D
RGBrgb(63, 24, 61)
HSLhsl(303, 45%, 17%)
HSVhsv(303, 62%, 25%)
CMYKcmyk(0%, 61.9%, 3.2%, 75.3%)
CIE-LABlab(15.73, 24.99, -15.14)
CIE-LCHlch(15.73, 29.22, 328.78°)
OKLaboklab(28.4% 0.0704 -0.0415)
OKLCHoklch(28.4% 0.082 329.5)
XYZxyz(3.2188, 2.0472, 4.6396)
Luminance0.0205 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F183D #183F1A
analogous
#2E183F #3F183D #3F182A
triadic
#3F183D #3D3F18 #183D3F
tetradic
#3F183D #3F2E18 #183F1A #182A3F
square
#3F183D #3F2E18 #183F1A #182A3F
split-complementary
#3F183D #2A3F18 #183F2E
monochromatic
#160815 #160815 #3F183D #6B2968 #983A93

Accessibility & contrast

On white

14.90
#3F183D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#3F183D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F183D
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F183D#FFFFFF#000000##FFFFFF
##3F183D1.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15243E
Deuteranopia (green-blind)
#21293C
Tritanopia (blue-blind)
#411C27
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3f183d;
/* rgb */ color: rgb(63, 24, 61);
/* oklch */ color: oklch(28.4% 0.082 329.5);
Tailwind
colors: {
  custom: {
    50: '#755772',
    500: '#3f183d',
    950: '#000000',
  },
}
SCSS
$custom: #3f183d;
$custom-light: #755772;
$custom-dark: #000000;
JSON
{
  "hex": "#3f183d",
  "rgb": {
    "r": 63,
    "g": 24,
    "b": 61
  },
  "hsl": {
    "h": 303.077,
    "s": 44.828,
    "l": 17.059
  },
  "oklch": {
    "l": 0.28397,
    "c": 0.08171,
    "h": 329.5
  },
  "luminance": 0.02047
}

Semantic roles & 50–950 ramp

primary
#3F183D
secondary
#3D7540
accent
#D55A53
background
#F7F5F6
surface
#EDE9EC
border
#C8C5C7
text
#080308
muted
#7B787B

Preview Lab

Preview with #3F183D

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

Preview Lab → · Contrast checker → · Palette generator →

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