#2A1628#2A1628

#2A1628 is a very dark, muted purple. Relative luminance 0.012; OKLCH L 23.6% C 0.044 H 330.5°. Best body text is #FFFFFF at 16.88:1 contrast (WCAG AA passes).

Color values

HEX#2A1628
RGBrgb(42, 22, 40)
HSLhsl(306, 31%, 13%)
HSVhsv(306, 48%, 16%)
CMYKcmyk(0%, 47.6%, 4.8%, 83.5%)
CIE-LABlab(10.70, 13.72, -8.08)
CIE-LCHlch(10.70, 15.92, 329.50°)
OKLaboklab(23.57% 0.0387 -0.0219)
OKLCHoklch(23.57% 0.044 330.5)
XYZxyz(1.6247, 1.2193, 2.1568)
Luminance0.0122 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A1628 #162A18
analogous
#22162A #2A1628 #2A161E
triadic
#2A1628 #282A16 #16282A
tetradic
#2A1628 #2A2216 #162A18 #161E2A
square
#2A1628 #2A2216 #162A18 #161E2A
split-complementary
#2A1628 #1E2A16 #162A22
monochromatic
#140B13 #140B13 #2A1628 #522B4E #7A4074

Accessibility & contrast

On white

16.88
#2A1628 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#2A1628 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A1628
16.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A1628#FFFFFF#000000##FFFFFF
##2A16281.0016.881.2416.88
#FFFFFF16.881.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151B29
Deuteranopia (green-blind)
#1A1E27
Tritanopia (blue-blind)
#2B171D
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2a1628;
/* rgb */ color: rgb(42, 22, 40);
/* oklch */ color: oklch(23.6% 0.044 330.5);
Tailwind
colors: {
  custom: {
    50: '#645361',
    500: '#2a1628',
    950: '#000000',
  },
}
SCSS
$custom: #2a1628;
$custom-light: #645361;
$custom-dark: #000000;
JSON
{
  "hex": "#2a1628",
  "rgb": {
    "r": 42,
    "g": 22,
    "b": 40
  },
  "hsl": {
    "h": 306,
    "s": 31.25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.23567,
    "c": 0.04446,
    "h": 330.5
  },
  "luminance": 0.01219
}

Semantic roles & 50–950 ramp

primary
#2A1628
secondary
#3D5F40
accent
#C76B60
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#050205
muted
#7A7879

Preview Lab

Preview with #2A1628

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

Preview Lab → · Contrast checker → · Palette generator →

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