#3A303A#3A303A

#3A303A is a dark, muted purple. Relative luminance 0.033; OKLCH L 32.4% C 0.022 H 326.1°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#3A303A
RGBrgb(58, 48, 58)
HSLhsl(300, 9%, 21%)
HSVhsv(300, 17%, 23%)
CMYKcmyk(0%, 17.2%, 0%, 77.3%)
CIE-LABlab(21.28, 6.69, -4.64)
CIE-LCHlch(21.28, 8.15, 325.25°)
OKLaboklab(32.39% 0.0184 -0.0124)
OKLCHoklch(32.39% 0.022 326.1)
XYZxyz(3.5655, 3.3190, 4.4550)
Luminance0.0332 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A303A #303A30
analogous
#35303A #3A303A #3A3035
triadic
#3A303A #3A3A30 #303A3A
tetradic
#3A303A #3A3530 #303A30 #30353A
square
#3A303A #3A3530 #303A30 #30353A
split-complementary
#3A303A #353A30 #303A35
monochromatic
#110E11 #191419 #3A303A #5B4C5B #7D677D

Accessibility & contrast

On white

12.62
#3A303A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#3A303A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A303A
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A303A#FFFFFF#000000##FFFFFF
##3A303A1.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F323A
Deuteranopia (green-blind)
#32343A
Tritanopia (blue-blind)
#3B3133
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #3a303a;
/* rgb */ color: rgb(58, 48, 58);
/* oklch */ color: oklch(32.4% 0.022 326.1);
Tailwind
colors: {
  custom: {
    50: '#706870',
    500: '#3a303a',
    950: '#000000',
  },
}
SCSS
$custom: #3a303a;
$custom-light: #706870;
$custom-dark: #000000;
JSON
{
  "hex": "#3a303a",
  "rgb": {
    "r": 58,
    "g": 48,
    "b": 58
  },
  "hsl": {
    "h": 300,
    "s": 9.434,
    "l": 20.784
  },
  "oklch": {
    "l": 0.32393,
    "c": 0.02222,
    "h": 326.1
  },
  "luminance": 0.03319
}

Semantic roles & 50–950 ramp

primary
#3A303A
secondary
#5C695C
accent
#B27575
background
#F6F6F6
surface
#ECEBEC
border
#C7C6C7
text
#070607
muted
#7A7A7A

Preview Lab

Preview with #3A303A

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

Preview Lab → · Contrast checker → · Palette generator →

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