#3A3640#3A3640

#3A3640 is a dark, near-neutral violet. Relative luminance 0.039; OKLCH L 34.1% C 0.018 H 303.6°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#3A3640
RGBrgb(58, 54, 64)
HSLhsl(264, 8%, 23%)
HSVhsv(264, 16%, 25%)
CMYKcmyk(9.4%, 15.6%, 0%, 74.9%)
CIE-LABlab(23.36, 4.09, -5.58)
CIE-LCHlch(23.36, 6.92, 306.21°)
OKLaboklab(34.09% 0.01 -0.015)
OKLCHoklch(34.09% 0.018 303.6)
XYZxyz(3.9893, 3.9080, 5.3937)
Luminance0.0391 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3640 #3C4036
analogous
#363740 #3A3640 #3F3640
triadic
#3A3640 #403A36 #36403A
tetradic
#3A3640 #403637 #3C4036 #36403F
square
#3A3640 #403637 #3C4036 #36403F
split-complementary
#3A3640 #403F36 #374036
monochromatic
#0F0E11 #1C1A1F #3A3640 #585261 #766E82

Accessibility & contrast

On white

11.79
#3A3640 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#3A3640 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3640
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3640#FFFFFF#000000##FFFFFF
##3A36401.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343840
Deuteranopia (green-blind)
#353840
Tritanopia (blue-blind)
#393739
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #3a3640;
/* rgb */ color: rgb(58, 54, 64);
/* oklch */ color: oklch(34.1% 0.018 303.6);
Tailwind
colors: {
  custom: {
    50: '#706d74',
    500: '#3a3640',
    950: '#000000',
  },
}
SCSS
$custom: #3a3640;
$custom-light: #706d74;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3640",
  "rgb": {
    "r": 58,
    "g": 54,
    "b": 64
  },
  "hsl": {
    "h": 264,
    "s": 8.475,
    "l": 23.137
  },
  "oklch": {
    "l": 0.3409,
    "c": 0.01804,
    "h": 303.6
  },
  "luminance": 0.03908
}

Semantic roles & 50–950 ramp

primary
#3A3640
secondary
#6A6F63
accent
#B1769A
background
#F6F6F7
surface
#ECEBED
border
#C7C6C8
text
#070708
muted
#7A7A7B

Preview Lab

Preview with #3A3640

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

Preview Lab → · Contrast checker → · Palette generator →

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