#3A3440#3A3440

#3A3440 is a dark, muted violet. Relative luminance 0.037; OKLCH L 33.6% C 0.022 H 307.7°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#3A3440
RGBrgb(58, 52, 64)
HSLhsl(270, 10%, 23%)
HSVhsv(270, 19%, 25%)
CMYKcmyk(9.4%, 18.8%, 0%, 74.9%)
CIE-LABlab(22.74, 5.43, -6.52)
CIE-LCHlch(22.74, 8.48, 309.83°)
OKLaboklab(33.61% 0.0136 -0.0176)
OKLCHoklch(33.61% 0.022 307.7)
XYZxyz(3.8982, 3.7257, 5.3633)
Luminance0.0373 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3440 #3A4034
analogous
#343440 #3A3440 #403440
triadic
#3A3440 #403A34 #34403A
tetradic
#3A3440 #403434 #3A4034 #344040
square
#3A3440 #403434 #3A4034 #344040
split-complementary
#3A3440 #404034 #344034
monochromatic
#0F0E11 #1B191E #3A3440 #594F62 #776B84

Accessibility & contrast

On white

12.03
#3A3440 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#3A3440 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3440
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3440#FFFFFF#000000##FFFFFF
##3A34401.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323641
Deuteranopia (green-blind)
#333640
Tritanopia (blue-blind)
#393538
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3a3440;
/* rgb */ color: rgb(58, 52, 64);
/* oklch */ color: oklch(33.6% 0.022 307.7);
Tailwind
colors: {
  custom: {
    50: '#706b74',
    500: '#3a3440',
    950: '#000000',
  },
}
SCSS
$custom: #3a3440;
$custom-light: #706b74;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3440",
  "rgb": {
    "r": 58,
    "g": 52,
    "b": 64
  },
  "hsl": {
    "h": 270,
    "s": 10.345,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33606,
    "c": 0.02223,
    "h": 307.7
  },
  "luminance": 0.03726
}

Semantic roles & 50–950 ramp

primary
#3A3440
secondary
#686F60
accent
#B37594
background
#F6F6F7
surface
#ECEBED
border
#C7C6C8
text
#070608
muted
#7A7A7B

Preview Lab

Preview with #3A3440

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

Preview Lab → · Contrast checker → · Palette generator →

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