#2A202E#2A202E

#2A202E is a dark, muted purple. Relative luminance 0.017; OKLCH L 26.1% C 0.029 H 316.2°. Best body text is #FFFFFF at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#2A202E
RGBrgb(42, 32, 46)
HSLhsl(283, 18%, 15%)
HSVhsv(283, 30%, 18%)
CMYKcmyk(8.7%, 30.4%, 0%, 82%)
CIE-LABlab(13.96, 8.08, -7.47)
CIE-LCHlch(13.96, 11.01, 317.25°)
OKLaboklab(26.14% 0.0211 -0.0203)
OKLCHoklch(26.14% 0.029 316.2)
XYZxyz(1.9644, 1.7226, 2.8132)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A202E #242E20
analogous
#23202E #2A202E #2E202B
triadic
#2A202E #2E2A20 #202E2A
tetradic
#2A202E #2E2320 #242E20 #202B2E
square
#2A202E #2E2320 #242E20 #202B2E
split-complementary
#2A202E #2B2E20 #202E23
monochromatic
#100D12 #100D12 #2A202E #4B3952 #6C5276

Accessibility & contrast

On white

15.62
#2A202E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A202E
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A202E#FFFFFF#000000##FFFFFF
##2A202E1.0015.621.3415.62
#FFFFFF15.621.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E232F
Deuteranopia (green-blind)
#20242E
Tritanopia (blue-blind)
#2A2225
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #2a202e;
/* rgb */ color: rgb(42, 32, 46);
/* oklch */ color: oklch(26.1% 0.029 316.2);
Tailwind
colors: {
  custom: {
    50: '#635b66',
    500: '#2a202e',
    950: '#000000',
  },
}
SCSS
$custom: #2a202e;
$custom-light: #635b66;
$custom-dark: #000000;
JSON
{
  "hex": "#2a202e",
  "rgb": {
    "r": 42,
    "g": 32,
    "b": 46
  },
  "hsl": {
    "h": 282.857,
    "s": 17.949,
    "l": 15.294
  },
  "oklch": {
    "l": 0.26141,
    "c": 0.0293,
    "h": 316.2
  },
  "luminance": 0.01723
}

Semantic roles & 50–950 ramp

primary
#2A202E
secondary
#50604A
accent
#BB6D83
background
#F5F5F6
surface
#EAE9EB
border
#C6C5C6
text
#050406
muted
#79797A

Preview Lab

Preview with #2A202E

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

Preview Lab → · Contrast checker → · Palette generator →

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