#3E3848#3E3848

#3E3848 is a dark, muted violet. Relative luminance 0.043; OKLCH L 35.3% C 0.028 H 302.1°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#3E3848
RGBrgb(62, 56, 72)
HSLhsl(263, 13%, 25%)
HSVhsv(263, 22%, 28%)
CMYKcmyk(13.9%, 22.2%, 0%, 71.8%)
CIE-LABlab(24.70, 6.37, -8.87)
CIE-LCHlch(24.70, 10.92, 305.69°)
OKLaboklab(35.33% 0.0151 -0.0241)
OKLCHoklch(35.33% 0.028 302.1)
XYZxyz(4.5703, 4.3204, 6.7228)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E3848 #424838
analogous
#383A48 #3E3848 #463848
triadic
#3E3848 #483E38 #38483E
tetradic
#3E3848 #48383A #424838 #384846
square
#3E3848 #48383A #424838 #384846
split-complementary
#3E3848 #484638 #3A4838
monochromatic
#0F0D11 #201D26 #3E3848 #5C536A #796E8D

Accessibility & contrast

On white

11.27
#3E3848 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#3E3848 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E3848
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E3848#FFFFFF#000000##FFFFFF
##3E38481.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353B49
Deuteranopia (green-blind)
#363B48
Tritanopia (blue-blind)
#3C3A3D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3e3848;
/* rgb */ color: rgb(62, 56, 72);
/* oklch */ color: oklch(35.3% 0.028 302.1);
Tailwind
colors: {
  custom: {
    50: '#736e7b',
    500: '#3e3848',
    950: '#000000',
  },
}
SCSS
$custom: #3e3848;
$custom-light: #736e7b;
$custom-dark: #000000;
JSON
{
  "hex": "#3e3848",
  "rgb": {
    "r": 62,
    "g": 56,
    "b": 72
  },
  "hsl": {
    "h": 262.5,
    "s": 12.5,
    "l": 25.098
  },
  "oklch": {
    "l": 0.35332,
    "c": 0.02843,
    "h": 302.1
  },
  "luminance": 0.0432
}

Semantic roles & 50–950 ramp

primary
#3E3848
secondary
#707864
accent
#B5729C
background
#F6F6F7
surface
#ECEBED
border
#C7C6C8
text
#080709
muted
#7B7A7B

Preview Lab

Preview with #3E3848

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

Preview Lab → · Contrast checker → · Palette generator →

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