#2A112A#2A112A

#2A112A is a very dark, muted purple. Relative luminance 0.011; OKLCH L 22.7% C 0.058 H 327.3°. Best body text is #FFFFFF at 17.33:1 contrast (WCAG AA passes).

Color values

HEX#2A112A
RGBrgb(42, 17, 42)
HSLhsl(300, 42%, 12%)
HSVhsv(300, 60%, 16%)
CMYKcmyk(0%, 59.5%, 0%, 83.5%)
CIE-LABlab(9.48, 17.58, -11.44)
CIE-LCHlch(9.48, 20.97, 326.93°)
OKLaboklab(22.69% 0.0488 -0.0314)
OKLCHoklch(22.69% 0.058 327.3)
XYZxyz(1.5732, 1.0604, 2.3119)
Luminance0.0106 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A112A #112A11
analogous
#1E112A #2A112A #2A111E
triadic
#2A112A #2A2A11 #112A2A
tetradic
#2A112A #2A1E11 #112A11 #111E2A
square
#2A112A #2A1E11 #112A11 #111E2A
split-complementary
#2A112A #1E2A11 #112A1E
monochromatic
#160916 #160916 #2A112A #562356 #813481

Accessibility & contrast

On white

17.33
#2A112A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2A112A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A112A
17.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A112A#FFFFFF#000000##FFFFFF
##2A112A1.0017.331.2117.33
#FFFFFF17.331.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F182B
Deuteranopia (green-blind)
#161C29
Tritanopia (blue-blind)
#2B141B
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2a112a;
/* rgb */ color: rgb(42, 17, 42);
/* oklch */ color: oklch(22.7% 0.058 327.3);
Tailwind
colors: {
  custom: {
    50: '#645063',
    500: '#2a112a',
    950: '#000000',
  },
}
SCSS
$custom: #2a112a;
$custom-light: #645063;
$custom-dark: #000000;
JSON
{
  "hex": "#2a112a",
  "rgb": {
    "r": 42,
    "g": 17,
    "b": 42
  },
  "hsl": {
    "h": 300,
    "s": 42.373,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22694,
    "c": 0.05803,
    "h": 327.3
  },
  "luminance": 0.0106
}

Semantic roles & 50–950 ramp

primary
#2A112A
secondary
#356235
accent
#D25656
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#050205
muted
#7A7879

Preview Lab

Preview with #2A112A

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

Preview Lab → · Contrast checker → · Palette generator →

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