#2A1E2C#2A1E2C

#2A1E2C is a dark, muted purple. Relative luminance 0.016; OKLCH L 25.6% C 0.031 H 321.6°. Best body text is #FFFFFF at 15.90:1 contrast (WCAG AA passes).

Color values

HEX#2A1E2C
RGBrgb(42, 30, 44)
HSLhsl(291, 19%, 15%)
HSVhsv(291, 32%, 17%)
CMYKcmyk(4.5%, 31.8%, 0%, 82.7%)
CIE-LABlab(13.25, 9.01, -7.12)
CIE-LCHlch(13.25, 11.48, 321.69°)
OKLaboklab(25.57% 0.0243 -0.0193)
OKLCHoklch(25.57% 0.031 321.6)
XYZxyz(1.8737, 1.6027, 2.5930)
Luminance0.0160 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A1E2C #202C1E
analogous
#231E2C #2A1E2C #2C1E27
triadic
#2A1E2C #2C2A1E #1E2C2A
tetradic
#2A1E2C #2C231E #202C1E #1E272C
square
#2A1E2C #2C231E #202C1E #1E272C
split-complementary
#2A1E2C #272C1E #1E2C23
monochromatic
#110C12 #110C12 #2A1E2C #4D3750 #6F5075

Accessibility & contrast

On white

15.90
#2A1E2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#2A1E2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A1E2C
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A1E2C#FFFFFF#000000##FFFFFF
##2A1E2C1.0015.901.3215.90
#FFFFFF15.901.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D212D
Deuteranopia (green-blind)
#1F232C
Tritanopia (blue-blind)
#2A1F23
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #2a1e2c;
/* rgb */ color: rgb(42, 30, 44);
/* oklch */ color: oklch(25.6% 0.031 321.6);
Tailwind
colors: {
  custom: {
    50: '#635965',
    500: '#2a1e2c',
    950: '#000000',
  },
}
SCSS
$custom: #2a1e2c;
$custom-light: #635965;
$custom-dark: #000000;
JSON
{
  "hex": "#2a1e2c",
  "rgb": {
    "r": 42,
    "g": 30,
    "b": 44
  },
  "hsl": {
    "h": 291.429,
    "s": 18.919,
    "l": 14.51
  },
  "oklch": {
    "l": 0.25565,
    "c": 0.031,
    "h": 321.6
  },
  "luminance": 0.01603
}

Semantic roles & 50–950 ramp

primary
#2A1E2C
secondary
#4B5E48
accent
#BC6C78
background
#F5F5F6
surface
#EAE9EB
border
#C6C5C6
text
#050305
muted
#79787A

Preview Lab

Preview with #2A1E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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