#2B0C2D#2B0C2D

#2B0C2D is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.2% C 0.072 H 325.2°. Best body text is #FFFFFF at 17.60:1 contrast (WCAG AA passes).

Color values

HEX#2B0C2D
RGBrgb(43, 12, 45)
HSLhsl(296, 58%, 11%)
HSVhsv(296, 73%, 18%)
CMYKcmyk(4.4%, 73.3%, 0%, 82.4%)
CIE-LABlab(8.71, 21.69, -14.88)
CIE-LCHlch(8.71, 26.30, 325.55°)
OKLaboklab(22.22% 0.0593 -0.0412)
OKLCHoklch(22.22% 0.072 325.2)
XYZxyz(1.6014, 0.9661, 2.5842)
Luminance0.0097 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0C2D #0E2D0C
analogous
#1A0C2D #2B0C2D #2D0C1E
triadic
#2B0C2D #2D2B0C #0C2D2B
tetradic
#2B0C2D #2D1A0C #0E2D0C #0C1E2D
square
#2B0C2D #2D1A0C #0E2D0C #0C1E2D
split-complementary
#2B0C2D #1E2D0C #0C2D1A
monochromatic
#170618 #170618 #2B0C2D #59195D #87268E

Accessibility & contrast

On white

17.60
#2B0C2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0C2D
17.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0C2D#FFFFFF#000000##FFFFFF
##2B0C2D1.0017.601.1917.60
#FFFFFF17.601.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07162E
Deuteranopia (green-blind)
#121A2C
Tritanopia (blue-blind)
#2C111A
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2b0c2d;
/* rgb */ color: rgb(43, 12, 45);
/* oklch */ color: oklch(22.2% 0.072 325.2);
Tailwind
colors: {
  custom: {
    50: '#664d66',
    500: '#2b0c2d',
    950: '#000000',
  },
}
SCSS
$custom: #2b0c2d;
$custom-light: #664d66;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0c2d",
  "rgb": {
    "r": 43,
    "g": 12,
    "b": 45
  },
  "hsl": {
    "h": 296.364,
    "s": 57.895,
    "l": 11.176
  },
  "oklch": {
    "l": 0.22219,
    "c": 0.07222,
    "h": 325.2
  },
  "luminance": 0.00966
}

Semantic roles & 50–950 ramp

primary
#2B0C2D
secondary
#30692C
accent
#E14750
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2B0C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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