#2A0C2B#2A0C2B

#2A0C2B is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.9% C 0.069 H 326.3°. Best body text is #FFFFFF at 17.71:1 contrast (WCAG AA passes).

Color values

HEX#2A0C2B
RGBrgb(42, 12, 43)
HSLhsl(298, 56%, 11%)
HSVhsv(298, 72%, 17%)
CMYKcmyk(2.3%, 72.1%, 0%, 83.1%)
CIE-LABlab(8.39, 20.90, -13.90)
CIE-LCHlch(8.39, 25.10, 326.37°)
OKLaboklab(21.91% 0.0577 -0.0384)
OKLCHoklch(21.91% 0.069 326.3)
XYZxyz(1.5223, 0.9297, 2.3843)
Luminance0.0093 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0C2B #0D2B0C
analogous
#1A0C2B #2A0C2B #2B0C1C
triadic
#2A0C2B #2B2A0C #0C2B2A
tetradic
#2A0C2B #2B1A0C #0D2B0C #0C1C2B
square
#2A0C2B #2B1A0C #0D2B0C #0C1C2B
split-complementary
#2A0C2B #1C2B0C #0C2B1A
monochromatic
#170718 #170718 #2A0C2B #59195B #87278B

Accessibility & contrast

On white

17.71
#2A0C2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#2A0C2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0C2B
17.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0C2B#FFFFFF#000000##FFFFFF
##2A0C2B1.0017.711.1917.71
#FFFFFF17.711.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08162C
Deuteranopia (green-blind)
#121A2A
Tritanopia (blue-blind)
#2B1019
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2a0c2b;
/* rgb */ color: rgb(42, 12, 43);
/* oklch */ color: oklch(21.9% 0.069 326.3);
Tailwind
colors: {
  custom: {
    50: '#654d64',
    500: '#2a0c2b',
    950: '#000000',
  },
}
SCSS
$custom: #2a0c2b;
$custom-light: #654d64;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0c2b",
  "rgb": {
    "r": 42,
    "g": 12,
    "b": 43
  },
  "hsl": {
    "h": 298.065,
    "s": 56.364,
    "l": 10.784
  },
  "oklch": {
    "l": 0.2191,
    "c": 0.06927,
    "h": 326.3
  },
  "luminance": 0.0093
}

Semantic roles & 50–950 ramp

primary
#2A0C2B
secondary
#2E662C
accent
#E0484D
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060105
muted
#7A777A

Preview Lab

Preview with #2A0C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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