#2B0C2C#2B0C2C

#2B0C2C is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.1% C 0.071 H 326.4°. Best body text is #FFFFFF at 17.62:1 contrast (WCAG AA passes).

Color values

HEX#2B0C2C
RGBrgb(43, 12, 44)
HSLhsl(298, 57%, 11%)
HSVhsv(298, 73%, 17%)
CMYKcmyk(2.3%, 72.7%, 0%, 82.7%)
CIE-LABlab(8.64, 21.46, -14.24)
CIE-LCHlch(8.64, 25.75, 326.43°)
OKLaboklab(22.15% 0.0592 -0.0393)
OKLCHoklch(22.15% 0.071 326.4)
XYZxyz(1.5823, 0.9585, 2.4840)
Luminance0.0096 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0C2C #0D2C0C
analogous
#1B0C2C #2B0C2C #2C0C1D
triadic
#2B0C2C #2C2B0C #0C2C2B
tetradic
#2B0C2C #2C1B0C #0D2C0C #0C1D2C
square
#2B0C2C #2C1B0C #0D2C0C #0C1D2C
split-complementary
#2B0C2C #1D2C0C #0C2C1B
monochromatic
#170718 #170718 #2B0C2C #5A195C #89268C

Accessibility & contrast

On white

17.62
#2B0C2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0C2C
17.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0C2C#FFFFFF#000000##FFFFFF
##2B0C2C1.0017.621.1917.62
#FFFFFF17.621.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08162D
Deuteranopia (green-blind)
#131A2B
Tritanopia (blue-blind)
#2C101A
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2b0c2c;
/* rgb */ color: rgb(43, 12, 44);
/* oklch */ color: oklch(22.1% 0.071 326.4);
Tailwind
colors: {
  custom: {
    50: '#664d65',
    500: '#2b0c2c',
    950: '#000000',
  },
}
SCSS
$custom: #2b0c2c;
$custom-light: #664d65;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0c2c",
  "rgb": {
    "r": 43,
    "g": 12,
    "b": 44
  },
  "hsl": {
    "h": 298.125,
    "s": 57.143,
    "l": 10.98
  },
  "oklch": {
    "l": 0.2215,
    "c": 0.0711,
    "h": 326.4
  },
  "luminance": 0.00958
}

Semantic roles & 50–950 ramp

primary
#2B0C2C
secondary
#2E672C
accent
#E0474C
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060105
muted
#7A777A

Preview Lab

Preview with #2B0C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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