#3F183B#3F183B

#3F183B is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.3% C 0.080 H 331.5°. Best body text is #FFFFFF at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#3F183B
RGBrgb(63, 24, 59)
HSLhsl(306, 45%, 17%)
HSVhsv(306, 62%, 25%)
CMYKcmyk(0%, 61.9%, 6.3%, 75.3%)
CIE-LABlab(15.62, 24.57, -13.91)
CIE-LCHlch(15.62, 28.23, 330.49°)
OKLaboklab(28.28% 0.07 -0.038)
OKLCHoklch(28.28% 0.08 331.5)
XYZxyz(3.1659, 2.0260, 4.3611)
Luminance0.0203 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F183B #183F1C
analogous
#30183F #3F183B #3F1828
triadic
#3F183B #3B3F18 #183B3F
tetradic
#3F183B #3F3018 #183F1C #18283F
square
#3F183B #3F3018 #183F1C #18283F
split-complementary
#3F183B #283F18 #183F30
monochromatic
#160815 #160815 #3F183B #6B2965 #983A8E

Accessibility & contrast

On white

14.94
#3F183B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F183B
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F183B#FFFFFF#000000##FFFFFF
##3F183B1.0014.941.4114.94
#FFFFFF14.941.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16233C
Deuteranopia (green-blind)
#22293A
Tritanopia (blue-blind)
#421B27
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3f183b;
/* rgb */ color: rgb(63, 24, 59);
/* oklch */ color: oklch(28.3% 0.080 331.5);
Tailwind
colors: {
  custom: {
    50: '#755771',
    500: '#3f183b',
    950: '#000000',
  },
}
SCSS
$custom: #3f183b;
$custom-light: #755771;
$custom-dark: #000000;
JSON
{
  "hex": "#3f183b",
  "rgb": {
    "r": 63,
    "g": 24,
    "b": 59
  },
  "hsl": {
    "h": 306.154,
    "s": 44.828,
    "l": 17.059
  },
  "oklch": {
    "l": 0.2828,
    "c": 0.07964,
    "h": 331.5
  },
  "luminance": 0.02026
}

Semantic roles & 50–950 ramp

primary
#3F183B
secondary
#3D7543
accent
#D56153
background
#F7F5F6
surface
#EDE9EC
border
#C8C5C7
text
#080307
muted
#7B787A

Preview Lab

Preview with #3F183B

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

Preview Lab → · Contrast checker → · Palette generator →

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