#2A1C2E#2A1C2E

#2A1C2E is a dark, muted purple. Relative luminance 0.015; OKLCH L 25.2% C 0.039 H 318.6°. Best body text is #FFFFFF at 16.10:1 contrast (WCAG AA passes).

Color values

HEX#2A1C2E
RGBrgb(42, 28, 46)
HSLhsl(287, 24%, 15%)
HSVhsv(287, 39%, 18%)
CMYKcmyk(8.7%, 39.1%, 0%, 82%)
CIE-LABlab(12.74, 10.96, -9.35)
CIE-LCHlch(12.74, 14.40, 319.54°)
OKLaboklab(25.21% 0.0289 -0.0255)
OKLCHoklch(25.21% 0.039 318.6)
XYZxyz(1.8632, 1.5201, 2.7795)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A1C2E #202E1C
analogous
#211C2E #2A1C2E #2E1C29
triadic
#2A1C2E #2E2A1C #1C2E2A
tetradic
#2A1C2E #2E211C #202E1C #1C292E
square
#2A1C2E #2E211C #202E1C #1C292E
split-complementary
#2A1C2E #292E1C #1C2E21
monochromatic
#110C13 #110C13 #2A1C2E #4D3354 #6F4A7A

Accessibility & contrast

On white

16.10
#2A1C2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#2A1C2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A1C2E
16.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A1C2E#FFFFFF#000000##FFFFFF
##2A1C2E1.0016.101.3016.10
#FFFFFF16.101.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A202F
Deuteranopia (green-blind)
#1D212D
Tritanopia (blue-blind)
#2A1E23
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #2a1c2e;
/* rgb */ color: rgb(42, 28, 46);
/* oklch */ color: oklch(25.2% 0.039 318.6);
Tailwind
colors: {
  custom: {
    50: '#645866',
    500: '#2a1c2e',
    950: '#000000',
  },
}
SCSS
$custom: #2a1c2e;
$custom-light: #645866;
$custom-dark: #000000;
JSON
{
  "hex": "#2a1c2e",
  "rgb": {
    "r": 42,
    "g": 28,
    "b": 46
  },
  "hsl": {
    "h": 286.667,
    "s": 24.324,
    "l": 14.51
  },
  "oklch": {
    "l": 0.25206,
    "c": 0.03857,
    "h": 318.6
  },
  "luminance": 0.0152
}

Semantic roles & 50–950 ramp

primary
#2A1C2E
secondary
#4B6145
accent
#C1677B
background
#F5F5F6
surface
#EAE9EB
border
#C6C5C6
text
#050306
muted
#79787A

Preview Lab

Preview with #2A1C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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