#3A303E#3A303E

#3A303E is a dark, muted purple. Relative luminance 0.034; OKLCH L 32.6% C 0.028 H 316.3°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#3A303E
RGBrgb(58, 48, 62)
HSLhsl(283, 13%, 22%)
HSVhsv(283, 23%, 24%)
CMYKcmyk(6.5%, 22.6%, 0%, 75.7%)
CIE-LABlab(21.44, 7.65, -7.13)
CIE-LCHlch(21.44, 10.46, 317.02°)
OKLaboklab(32.57% 0.0201 -0.0192)
OKLCHoklch(32.57% 0.028 316.3)
XYZxyz(3.6712, 3.3613, 5.0119)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A303E #343E30
analogous
#33303E #3A303E #3E303B
triadic
#3A303E #3E3A30 #303E3A
tetradic
#3A303E #3E3330 #343E30 #303B3E
square
#3A303E #3E3330 #343E30 #303B3E
split-complementary
#3A303E #3B3E30 #303E33
monochromatic
#100D11 #1A151C #3A303E #5A4B60 #7B6583

Accessibility & contrast

On white

12.56
#3A303E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#3A303E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A303E
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A303E#FFFFFF#000000##FFFFFF
##3A303E1.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E333F
Deuteranopia (green-blind)
#30343E
Tritanopia (blue-blind)
#3A3235
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #3a303e;
/* rgb */ color: rgb(58, 48, 62);
/* oklch */ color: oklch(32.6% 0.028 316.3);
Tailwind
colors: {
  custom: {
    50: '#706873',
    500: '#3a303e',
    950: '#000000',
  },
}
SCSS
$custom: #3a303e;
$custom-light: #706873;
$custom-dark: #000000;
JSON
{
  "hex": "#3a303e",
  "rgb": {
    "r": 58,
    "g": 48,
    "b": 62
  },
  "hsl": {
    "h": 282.857,
    "s": 12.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32568,
    "c": 0.02785,
    "h": 316.3
  },
  "luminance": 0.03361
}

Semantic roles & 50–950 ramp

primary
#3A303E
secondary
#616E5C
accent
#B67285
background
#F6F6F6
surface
#ECEBEC
border
#C7C6C7
text
#070608
muted
#7A7A7B

Preview Lab

Preview with #3A303E

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

Preview Lab → · Contrast checker → · Palette generator →

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