#3F183F#3F183F

#3F183F is a dark, moderate purple. Relative luminance 0.021; OKLCH L 28.5% C 0.084 H 327.5°. Best body text is #FFFFFF at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#3F183F
RGBrgb(63, 24, 63)
HSLhsl(300, 45%, 17%)
HSVhsv(300, 62%, 25%)
CMYKcmyk(0%, 61.9%, 0%, 75.3%)
CIE-LABlab(15.85, 25.41, -16.37)
CIE-LCHlch(15.85, 30.23, 327.21°)
OKLaboklab(28.52% 0.0707 -0.045)
OKLCHoklch(28.52% 0.084 327.5)
XYZxyz(3.2737, 2.0691, 4.9286)
Luminance0.0207 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F183F #183F18
analogous
#2C183F #3F183F #3F182C
triadic
#3F183F #3F3F18 #183F3F
tetradic
#3F183F #3F2C18 #183F18 #182C3F
square
#3F183F #3F2C18 #183F18 #182C3F
split-complementary
#3F183F #2C3F18 #183F2C
monochromatic
#160816 #160816 #3F183F #6B296B #983A98

Accessibility & contrast

On white

14.85
#3F183F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F183F
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F183F#FFFFFF#000000##FFFFFF
##3F183F1.0014.851.4114.85
#FFFFFF14.851.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142440
Deuteranopia (green-blind)
#20293E
Tritanopia (blue-blind)
#411C28
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3f183f;
/* rgb */ color: rgb(63, 24, 63);
/* oklch */ color: oklch(28.5% 0.084 327.5);
Tailwind
colors: {
  custom: {
    50: '#755774',
    500: '#3f183f',
    950: '#000000',
  },
}
SCSS
$custom: #3f183f;
$custom-light: #755774;
$custom-dark: #000000;
JSON
{
  "hex": "#3f183f",
  "rgb": {
    "r": 63,
    "g": 24,
    "b": 63
  },
  "hsl": {
    "h": 300,
    "s": 44.828,
    "l": 17.059
  },
  "oklch": {
    "l": 0.28517,
    "c": 0.08382,
    "h": 327.5
  },
  "luminance": 0.02069
}

Semantic roles & 50–950 ramp

primary
#3F183F
secondary
#3D753D
accent
#D55353
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#080308
muted
#7B787B

Preview Lab

Preview with #3F183F

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

Preview Lab → · Contrast checker → · Palette generator →

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