#3A413F#3A413F

#3A413F is a dark, near-neutral grey. Relative luminance 0.050; OKLCH L 36.8% C 0.010 H 176.8°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#3A413F
RGBrgb(58, 65, 63)
HSLhsl(163, 6%, 24%)
HSVhsv(163, 11%, 25%)
CMYKcmyk(10.8%, 0%, 3.1%, 74.5%)
CIE-LABlab(26.85, -3.37, 0.23)
CIE-LCHlch(26.85, 3.37, 176.10°)
OKLaboklab(36.81% -0.0099 0.0006)
OKLCHoklch(36.81% 0.01 176.8)
XYZxyz(4.5322, 5.0389, 5.4355)
Luminance0.0504 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A413F #413A3C
analogous
#3A413C #3A413F #3A4041
triadic
#3A413F #3F3A41 #413F3A
tetradic
#3A413F #3C3A41 #413A3C #40413A
square
#3A413F #3C3A41 #413A3C #40413A
split-complementary
#3A413F #413A40 #413C3A
monochromatic
#0E1010 #1D2120 #3A413F #57615E #74827E

Accessibility & contrast

On white

10.46
#3A413F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#3A413F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A413F
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A413F#FFFFFF#000000##FFFFFF
##3A413F1.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40403F
Deuteranopia (green-blind)
#3F3F3F
Tritanopia (blue-blind)
#384140
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3a413f;
/* rgb */ color: rgb(58, 65, 63);
/* oklch */ color: oklch(36.8% 0.010 176.8);
Tailwind
colors: {
  custom: {
    50: '#707574',
    500: '#3a413f',
    950: '#000000',
  },
}
SCSS
$custom: #3a413f;
$custom-light: #707574;
$custom-dark: #000000;
JSON
{
  "hex": "#3a413f",
  "rgb": {
    "r": 58,
    "g": 65,
    "b": 63
  },
  "hsl": {
    "h": 162.857,
    "s": 5.691,
    "l": 24.118
  },
  "oklch": {
    "l": 0.3681,
    "c": 0.0099,
    "h": 176.8
  },
  "luminance": 0.05039
}

Semantic roles & 50–950 ramp

primary
#3A413F
secondary
#70676A
accent
#7988AF
background
#F6F7F7
surface
#ECEDED
border
#C7C8C8
text
#070808
muted
#7A7B7B

Preview Lab

Preview with #3A413F

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

Preview Lab → · Contrast checker → · Palette generator →

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