#3E283F#3E283F

#3E283F is a dark, muted purple. Relative luminance 0.029; OKLCH L 31.3% C 0.050 H 325.2°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#3E283F
RGBrgb(62, 40, 63)
HSLhsl(297, 22%, 20%)
HSVhsv(297, 37%, 25%)
CMYKcmyk(1.6%, 36.5%, 0%, 75.3%)
CIE-LABlab(19.64, 14.95, -10.50)
CIE-LCHlch(19.64, 18.27, 324.91°)
OKLaboklab(31.32% 0.041 -0.0285)
OKLCHoklch(31.32% 0.05 325.2)
XYZxyz(3.6425, 2.9007, 5.0697)
Luminance0.0290 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E283F #293F28
analogous
#32283F #3E283F #3F2834
triadic
#3E283F #3F3E28 #283F3E
tetradic
#3E283F #3F3228 #293F28 #28343F
square
#3E283F #3F3228 #293F28 #28343F
split-complementary
#3E283F #343F28 #283F32
monochromatic
#120C13 #19101A #3E283F #634064 #88588A

Accessibility & contrast

On white

13.29
#3E283F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#3E283F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E283F
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E283F#FFFFFF#000000##FFFFFF
##3E283F1.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262E40
Deuteranopia (green-blind)
#2B303E
Tritanopia (blue-blind)
#3F2A30
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #3e283f;
/* rgb */ color: rgb(62, 40, 63);
/* oklch */ color: oklch(31.3% 0.050 325.2);
Tailwind
colors: {
  custom: {
    50: '#736274',
    500: '#3e283f',
    950: '#000000',
  },
}
SCSS
$custom: #3e283f;
$custom-light: #736274;
$custom-dark: #000000;
JSON
{
  "hex": "#3e283f",
  "rgb": {
    "r": 62,
    "g": 40,
    "b": 63
  },
  "hsl": {
    "h": 297.391,
    "s": 22.33,
    "l": 20.196
  },
  "oklch": {
    "l": 0.3132,
    "c": 0.04996,
    "h": 325.2
  },
  "luminance": 0.02901
}

Semantic roles & 50–950 ramp

primary
#3E283F
secondary
#537152
accent
#BF696D
background
#F7F5F7
surface
#EDEAED
border
#C8C6C8
text
#080508
muted
#7B797B

Preview Lab

Preview with #3E283F

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

Preview Lab → · Contrast checker → · Palette generator →

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