#2A202A#2A202A

#2A202A is a dark, muted purple. Relative luminance 0.017; OKLCH L 25.9% C 0.023 H 326.2°. Best body text is #FFFFFF at 15.69:1 contrast (WCAG AA passes).

Color values

HEX#2A202A
RGBrgb(42, 32, 42)
HSLhsl(300, 14%, 15%)
HSVhsv(300, 24%, 16%)
CMYKcmyk(0%, 23.8%, 0%, 83.5%)
CIE-LABlab(13.78, 7.07, -4.86)
CIE-LCHlch(13.78, 8.58, 325.48°)
OKLaboklab(25.95% 0.0195 -0.013)
OKLCHoklch(25.95% 0.023 326.2)
XYZxyz(1.8892, 1.6925, 2.4172)
Luminance0.0169 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A202A #202A20
analogous
#25202A #2A202A #2A2025
triadic
#2A202A #2A2A20 #202A2A
tetradic
#2A202A #2A2520 #202A20 #20252A
square
#2A202A #2A2520 #202A20 #20252A
split-complementary
#2A202A #252A20 #202A25
monochromatic
#110D11 #110D11 #2A202A #4D3A4D #6F556F

Accessibility & contrast

On white

15.69
#2A202A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#2A202A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A202A
15.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A202A#FFFFFF#000000##FFFFFF
##2A202A1.0015.691.3415.69
#FFFFFF15.691.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F222A
Deuteranopia (green-blind)
#22242A
Tritanopia (blue-blind)
#2B2123
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #2a202a;
/* rgb */ color: rgb(42, 32, 42);
/* oklch */ color: oklch(25.9% 0.023 326.2);
Tailwind
colors: {
  custom: {
    50: '#635b63',
    500: '#2a202a',
    950: '#000000',
  },
}
SCSS
$custom: #2a202a;
$custom-light: #635b63;
$custom-dark: #000000;
JSON
{
  "hex": "#2a202a",
  "rgb": {
    "r": 42,
    "g": 32,
    "b": 42
  },
  "hsl": {
    "h": 300,
    "s": 13.514,
    "l": 14.51
  },
  "oklch": {
    "l": 0.25948,
    "c": 0.02344,
    "h": 326.2
  },
  "luminance": 0.01692
}

Semantic roles & 50–950 ramp

primary
#2A202A
secondary
#4B5B4B
accent
#B67171
background
#F5F5F5
surface
#EAE9EA
border
#C6C5C6
text
#050405
muted
#797979

Preview Lab

Preview with #2A202A

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

Preview Lab → · Contrast checker → · Palette generator →

#2A202A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva