#2A1E2E#2A1E2E

#2A1E2E is a dark, muted purple. Relative luminance 0.016; OKLCH L 25.7% C 0.034 H 317.5°. Best body text is #FFFFFF at 15.87:1 contrast (WCAG AA passes).

Color values

HEX#2A1E2E
RGBrgb(42, 30, 46)
HSLhsl(285, 21%, 15%)
HSVhsv(285, 35%, 18%)
CMYKcmyk(8.7%, 34.8%, 0%, 82%)
CIE-LABlab(13.34, 9.52, -8.42)
CIE-LCHlch(13.34, 12.71, 318.53°)
OKLaboklab(25.67% 0.025 -0.0229)
OKLCHoklch(25.67% 0.034 317.5)
XYZxyz(1.9122, 1.6181, 2.7958)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A1E2E #222E1E
analogous
#221E2E #2A1E2E #2E1E2A
triadic
#2A1E2E #2E2A1E #1E2E2A
tetradic
#2A1E2E #2E221E #222E1E #1E2A2E
square
#2A1E2E #2E221E #222E1E #1E2A2E
split-complementary
#2A1E2E #2A2E1E #1E2E22
monochromatic
#110C13 #110C13 #2A1E2E #4C3653 #6E4E78

Accessibility & contrast

On white

15.87
#2A1E2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A1E2E
15.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A1E2E#FFFFFF#000000##FFFFFF
##2A1E2E1.0015.871.3215.87
#FFFFFF15.871.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C212F
Deuteranopia (green-blind)
#1F232D
Tritanopia (blue-blind)
#2A2024
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #2a1e2e;
/* rgb */ color: rgb(42, 30, 46);
/* oklch */ color: oklch(25.7% 0.034 317.5);
Tailwind
colors: {
  custom: {
    50: '#635966',
    500: '#2a1e2e',
    950: '#000000',
  },
}
SCSS
$custom: #2a1e2e;
$custom-light: #635966;
$custom-dark: #000000;
JSON
{
  "hex": "#2a1e2e",
  "rgb": {
    "r": 42,
    "g": 30,
    "b": 46
  },
  "hsl": {
    "h": 285,
    "s": 21.053,
    "l": 14.902
  },
  "oklch": {
    "l": 0.25667,
    "c": 0.03395,
    "h": 317.5
  },
  "luminance": 0.01618
}

Semantic roles & 50–950 ramp

primary
#2A1E2E
secondary
#4E6048
accent
#BE6A7F
background
#F5F5F6
surface
#EAE9EB
border
#C6C5C6
text
#050306
muted
#79787A

Preview Lab

Preview with #2A1E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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