#2A2129#2A2129

#2A2129 is a dark, near-neutral purple. Relative luminance 0.017; OKLCH L 26.1% C 0.020 H 329.8°. Best body text is #FFFFFF at 15.58:1 contrast (WCAG AA passes).

Color values

HEX#2A2129
RGBrgb(42, 33, 41)
HSLhsl(307, 12%, 15%)
HSVhsv(307, 21%, 16%)
CMYKcmyk(0%, 21.4%, 2.4%, 83.5%)
CIE-LABlab(14.06, 6.11, -3.72)
CIE-LCHlch(14.06, 7.15, 328.62°)
OKLaboklab(26.15% 0.0171 -0.0099)
OKLCHoklch(26.15% 0.02 329.8)
XYZxyz(1.8989, 1.7401, 2.3332)
Luminance0.0174 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2129 #212A22
analogous
#27212A #2A2129 #2A2125
triadic
#2A2129 #292A21 #21292A
tetradic
#2A2129 #2A2721 #212A22 #21252A
square
#2A2129 #2A2721 #212A22 #21252A
split-complementary
#2A2129 #252A21 #212A27
monochromatic
#110D11 #110D11 #2A2129 #4C3C4A #6F576C

Accessibility & contrast

On white

15.58
#2A2129 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#2A2129 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2129
15.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2129#FFFFFF#000000##FFFFFF
##2A21291.0015.581.3515.58
#FFFFFF15.581.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212329
Deuteranopia (green-blind)
#232429
Tritanopia (blue-blind)
#2B2224
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #2a2129;
/* rgb */ color: rgb(42, 33, 41);
/* oklch */ color: oklch(26.1% 0.020 329.8);
Tailwind
colors: {
  custom: {
    50: '#635c62',
    500: '#2a2129',
    950: '#000000',
  },
}
SCSS
$custom: #2a2129;
$custom-light: #635c62;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2129",
  "rgb": {
    "r": 42,
    "g": 33,
    "b": 41
  },
  "hsl": {
    "h": 306.667,
    "s": 12,
    "l": 14.706
  },
  "oklch": {
    "l": 0.26148,
    "c": 0.01974,
    "h": 329.8
  },
  "luminance": 0.0174
}

Semantic roles & 50–950 ramp

primary
#2A2129
secondary
#4C5A4E
accent
#B57A73
background
#F5F5F5
surface
#EAE9EA
border
#C6C5C6
text
#050405
muted
#797979

Preview Lab

Preview with #2A2129

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

Preview Lab → · Contrast checker → · Palette generator →

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