#3F283F#3F283F

#3F283F is a dark, muted purple. Relative luminance 0.029; OKLCH L 31.5% C 0.051 H 326.7°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#3F283F
RGBrgb(63, 40, 63)
HSLhsl(300, 22%, 20%)
HSVhsv(300, 37%, 25%)
CMYKcmyk(0%, 36.5%, 0%, 75.3%)
CIE-LABlab(19.78, 15.34, -10.28)
CIE-LCHlch(19.78, 18.47, 326.16°)
OKLaboklab(31.45% 0.0425 -0.0279)
OKLCHoklch(31.45% 0.051 326.7)
XYZxyz(3.7058, 2.9334, 5.0727)
Luminance0.0293 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F283F #283F28
analogous
#33283F #3F283F #3F2833
triadic
#3F283F #3F3F28 #283F3F
tetradic
#3F283F #3F3328 #283F28 #28333F
square
#3F283F #3F3328 #283F28 #28333F
split-complementary
#3F283F #333F28 #283F33
monochromatic
#130C13 #1A101A #3F283F #644064 #8A588A

Accessibility & contrast

On white

13.24
#3F283F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#3F283F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F283F
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F283F#FFFFFF#000000##FFFFFF
##3F283F1.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262E40
Deuteranopia (green-blind)
#2C313E
Tritanopia (blue-blind)
#402A30
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #3f283f;
/* rgb */ color: rgb(63, 40, 63);
/* oklch */ color: oklch(31.5% 0.051 326.7);
Tailwind
colors: {
  custom: {
    50: '#746274',
    500: '#3f283f',
    950: '#000000',
  },
}
SCSS
$custom: #3f283f;
$custom-light: #746274;
$custom-dark: #000000;
JSON
{
  "hex": "#3f283f",
  "rgb": {
    "r": 63,
    "g": 40,
    "b": 63
  },
  "hsl": {
    "h": 300,
    "s": 22.33,
    "l": 20.196
  },
  "oklch": {
    "l": 0.31451,
    "c": 0.05079,
    "h": 326.7
  },
  "luminance": 0.02933
}

Semantic roles & 50–950 ramp

primary
#3F283F
secondary
#527152
accent
#BF6969
background
#F7F5F7
surface
#EDEAED
border
#C8C6C8
text
#080508
muted
#7B797B

Preview Lab

Preview with #3F283F

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

Preview Lab → · Contrast checker → · Palette generator →

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