#2B0B2B#2B0B2B

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

Color values

HEX#2B0B2B
RGBrgb(43, 11, 43)
HSLhsl(300, 59%, 11%)
HSVhsv(300, 74%, 17%)
CMYKcmyk(0%, 74.4%, 0%, 83.1%)
CIE-LABlab(8.37, 21.80, -13.92)
CIE-LCHlch(8.37, 25.86, 327.44°)
OKLaboklab(21.93% 0.0607 -0.0384)
OKLCHoklch(21.93% 0.072 327.7)
XYZxyz(1.5520, 0.9275, 2.3823)
Luminance0.0093 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0B2B #0B2B0B
analogous
#1B0B2B #2B0B2B #2B0B1B
triadic
#2B0B2B #2B2B0B #0B2B2B
tetradic
#2B0B2B #2B1B0B #0B2B0B #0B1B2B
square
#2B0B2B #2B1B0B #0B2B0B #0B1B2B
split-complementary
#2B0B2B #1B2B0B #0B2B1B
monochromatic
#180618 #180618 #2B0B2B #5C175C #8C248C

Accessibility & contrast

On white

17.72
#2B0B2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0B2B
17.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0B2B#FFFFFF#000000##FFFFFF
##2B0B2B1.0017.721.1917.72
#FFFFFF17.721.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b0b2b;
/* rgb */ color: rgb(43, 11, 43);
/* oklch */ color: oklch(21.9% 0.072 327.7);
Tailwind
colors: {
  custom: {
    50: '#664c64',
    500: '#2b0b2b',
    950: '#000000',
  },
}
SCSS
$custom: #2b0b2b;
$custom-light: #664c64;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0b2b",
  "rgb": {
    "r": 43,
    "g": 11,
    "b": 43
  },
  "hsl": {
    "h": 300,
    "s": 59.259,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21934,
    "c": 0.07183,
    "h": 327.7
  },
  "luminance": 0.00927
}

Semantic roles & 50–950 ramp

primary
#2B0B2B
secondary
#2B672B
accent
#E24545
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060105
muted
#7A777A

Preview Lab

Preview with #2B0B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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