#2A142A#2A142A

#2A142A is a very dark, muted purple. Relative luminance 0.012; OKLCH L 23.3% C 0.051 H 327.1°. Best body text is #FFFFFF at 17.05:1 contrast (WCAG AA passes).

Color values

HEX#2A142A
RGBrgb(42, 20, 42)
HSLhsl(300, 35%, 12%)
HSVhsv(300, 52%, 16%)
CMYKcmyk(0%, 52.4%, 0%, 83.5%)
CIE-LABlab(10.26, 15.57, -10.24)
CIE-LCHlch(10.26, 18.64, 326.67°)
OKLaboklab(23.27% 0.0432 -0.028)
OKLCHoklch(23.27% 0.051 327.1)
XYZxyz(1.6229, 1.1598, 2.3284)
Luminance0.0116 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A142A #142A14
analogous
#1F142A #2A142A #2A141F
triadic
#2A142A #2A2A14 #142A2A
tetradic
#2A142A #2A1F14 #142A14 #141F2A
square
#2A142A #2A1F14 #142A14 #141F2A
split-complementary
#2A142A #1F2A14 #142A1F
monochromatic
#150A15 #150A15 #2A142A #532853 #7D3B7D

Accessibility & contrast

On white

17.05
#2A142A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#2A142A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A142A
17.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A142A#FFFFFF#000000##FFFFFF
##2A142A1.0017.051.2317.05
#FFFFFF17.051.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121A2B
Deuteranopia (green-blind)
#181D29
Tritanopia (blue-blind)
#2B161D
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2a142a;
/* rgb */ color: rgb(42, 20, 42);
/* oklch */ color: oklch(23.3% 0.051 327.1);
Tailwind
colors: {
  custom: {
    50: '#645263',
    500: '#2a142a',
    950: '#000000',
  },
}
SCSS
$custom: #2a142a;
$custom-light: #645263;
$custom-dark: #000000;
JSON
{
  "hex": "#2a142a",
  "rgb": {
    "r": 42,
    "g": 20,
    "b": 42
  },
  "hsl": {
    "h": 300,
    "s": 35.484,
    "l": 12.157
  },
  "oklch": {
    "l": 0.2327,
    "c": 0.05147,
    "h": 327.1
  },
  "luminance": 0.0116
}

Semantic roles & 50–950 ramp

primary
#2A142A
secondary
#3A603A
accent
#CC5C5C
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#050205
muted
#7A7879

Preview Lab

Preview with #2A142A

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

Preview Lab → · Contrast checker → · Palette generator →

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