#2A1634#2A1634

#2A1634 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.3% C 0.061 H 313.4°. Best body text is #FFFFFF at 16.63:1 contrast (WCAG AA passes).

Color values

HEX#2A1634
RGBrgb(42, 22, 52)
HSLhsl(280, 41%, 15%)
HSVhsv(280, 58%, 20%)
CMYKcmyk(19.2%, 57.7%, 0%, 79.6%)
CIE-LABlab(11.37, 16.79, -15.81)
CIE-LCHlch(11.37, 23.06, 316.72°)
OKLaboklab(24.29% 0.0417 -0.044)
OKLCHoklch(24.29% 0.061 313.4)
XYZxyz(1.8615, 1.3140, 3.4037)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A1634 #203416
analogous
#1B1634 #2A1634 #34162F
triadic
#2A1634 #342A16 #16342A
tetradic
#2A1634 #341B16 #203416 #162F34
square
#2A1634 #341B16 #203416 #162F34
split-complementary
#2A1634 #2F3416 #16341B
monochromatic
#110916 #110916 #2A1634 #4D285F #6F3A8A

Accessibility & contrast

On white

16.63
#2A1634 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#2A1634 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A1634
16.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A1634#FFFFFF#000000##FFFFFF
##2A16341.0016.631.2616.63
#FFFFFF16.631.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1D35
Deuteranopia (green-blind)
#151F33
Tritanopia (blue-blind)
#291B22
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2a1634;
/* rgb */ color: rgb(42, 22, 52);
/* oklch */ color: oklch(24.3% 0.061 313.4);
Tailwind
colors: {
  custom: {
    50: '#64546b',
    500: '#2a1634',
    950: '#000000',
  },
}
SCSS
$custom: #2a1634;
$custom-light: #64546b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a1634",
  "rgb": {
    "r": 42,
    "g": 22,
    "b": 52
  },
  "hsl": {
    "h": 280,
    "s": 40.541,
    "l": 14.51
  },
  "oklch": {
    "l": 0.24292,
    "c": 0.0606,
    "h": 313.4
  },
  "luminance": 0.01314
}

Semantic roles & 50–950 ramp

primary
#2A1634
secondary
#4B6A3B
accent
#D05780
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050206
muted
#7A787A

Preview Lab

Preview with #2A1634

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

Preview Lab → · Contrast checker → · Palette generator →

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