#2B0D2B#2B0D2B

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

Color values

HEX#2B0D2B
RGBrgb(43, 13, 43)
HSLhsl(300, 54%, 11%)
HSVhsv(300, 70%, 17%)
CMYKcmyk(0%, 69.8%, 0%, 83.1%)
CIE-LABlab(8.79, 20.65, -13.26)
CIE-LCHlch(8.79, 24.54, 327.30°)
OKLaboklab(22.24% 0.0575 -0.0365)
OKLCHoklch(22.24% 0.068 327.6)
XYZxyz(1.5762, 0.9760, 2.3904)
Luminance0.0098 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0D2B #0D2B0D
analogous
#1C0D2B #2B0D2B #2B0D1C
triadic
#2B0D2B #2B2B0D #0D2B2B
tetradic
#2B0D2B #2B1C0D #0D2B0D #0D1C2B
square
#2B0D2B #2B1C0D #0D2B0D #0D1C2B
split-complementary
#2B0D2B #1C2B0D #0D2B1C
monochromatic
#170717 #170717 #2B0D2B #5A1B5A #892989

Accessibility & contrast

On white

17.57
#2B0D2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#2B0D2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0D2B
17.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0D2B#FFFFFF#000000##FFFFFF
##2B0D2B1.0017.571.2017.57
#FFFFFF17.571.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A172C
Deuteranopia (green-blind)
#141A2A
Tritanopia (blue-blind)
#2C111A
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2b0d2b;
/* rgb */ color: rgb(43, 13, 43);
/* oklch */ color: oklch(22.2% 0.068 327.6);
Tailwind
colors: {
  custom: {
    50: '#664d64',
    500: '#2b0d2b',
    950: '#000000',
  },
}
SCSS
$custom: #2b0d2b;
$custom-light: #664d64;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0d2b",
  "rgb": {
    "r": 43,
    "g": 13,
    "b": 43
  },
  "hsl": {
    "h": 300,
    "s": 53.571,
    "l": 10.98
  },
  "oklch": {
    "l": 0.22238,
    "c": 0.06809,
    "h": 327.6
  },
  "luminance": 0.00976
}

Semantic roles & 50–950 ramp

primary
#2B0D2B
secondary
#2E662E
accent
#DD4B4B
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060105
muted
#7A777A

Preview Lab

Preview with #2B0D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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