#2A112B#2A112B

#2A112B is a very dark, muted purple. Relative luminance 0.011; OKLCH L 22.8% C 0.059 H 325.9°. Best body text is #FFFFFF at 17.30:1 contrast (WCAG AA passes).

Color values

HEX#2A112B
RGBrgb(42, 17, 43)
HSLhsl(298, 43%, 12%)
HSVhsv(298, 60%, 17%)
CMYKcmyk(2.3%, 60.5%, 0%, 83.1%)
CIE-LABlab(9.54, 17.81, -12.09)
CIE-LCHlch(9.54, 21.53, 325.83°)
OKLaboklab(22.76% 0.049 -0.0332)
OKLCHoklch(22.76% 0.059 325.9)
XYZxyz(1.5913, 1.0676, 2.4073)
Luminance0.0107 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A112B #122B11
analogous
#1D112B #2A112B #2B111F
triadic
#2A112B #2B2A11 #112B2A
tetradic
#2A112B #2B1D11 #122B11 #111F2B
square
#2A112B #2B1D11 #122B11 #111F2B
split-complementary
#2A112B #1F2B11 #112B1D
monochromatic
#150916 #150916 #2A112B #552257 #803483

Accessibility & contrast

On white

17.30
#2A112B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A112B
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A112B#FFFFFF#000000##FFFFFF
##2A112B1.0017.301.2117.30
#FFFFFF17.301.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E192C
Deuteranopia (green-blind)
#161C2A
Tritanopia (blue-blind)
#2B141C
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2a112b;
/* rgb */ color: rgb(42, 17, 43);
/* oklch */ color: oklch(22.8% 0.059 325.9);
Tailwind
colors: {
  custom: {
    50: '#645064',
    500: '#2a112b',
    950: '#000000',
  },
}
SCSS
$custom: #2a112b;
$custom-light: #645064;
$custom-dark: #000000;
JSON
{
  "hex": "#2a112b",
  "rgb": {
    "r": 42,
    "g": 17,
    "b": 43
  },
  "hsl": {
    "h": 297.692,
    "s": 43.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22756,
    "c": 0.05924,
    "h": 325.9
  },
  "luminance": 0.01068
}

Semantic roles & 50–950 ramp

primary
#2A112B
secondary
#376335
accent
#D3555A
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050205
muted
#7A787A

Preview Lab

Preview with #2A112B

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

Preview Lab → · Contrast checker → · Palette generator →

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