#2B072B#2B072B

#2B072B is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.4% C 0.079 H 327.9°. Best body text is #FFFFFF at 17.98:1 contrast (WCAG AA passes).

Color values

HEX#2B072B
RGBrgb(43, 7, 43)
HSLhsl(300, 72%, 10%)
HSVhsv(300, 84%, 17%)
CMYKcmyk(0%, 83.7%, 0%, 83.1%)
CIE-LABlab(7.59, 23.97, -15.15)
CIE-LCHlch(7.59, 28.36, 327.70°)
OKLaboklab(21.36% 0.0669 -0.042)
OKLCHoklch(21.36% 0.079 327.9)
XYZxyz(1.5083, 0.8401, 2.3677)
Luminance0.0084 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B072B #072B07
analogous
#19072B #2B072B #2B0719
triadic
#2B072B #2B2B07 #072B2B
tetradic
#2B072B #2B1907 #072B07 #07192B
square
#2B072B #2B1907 #072B07 #07192B
split-complementary
#2B072B #192B07 #072B19
monochromatic
#1A041A #1A041A #2B072B #601060 #941894

Accessibility & contrast

On white

17.98
#2B072B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#2B072B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B072B
17.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B072B#FFFFFF#000000##FFFFFF
##2B072B1.0017.981.1717.98
#FFFFFF17.981.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03142C
Deuteranopia (green-blind)
#10182A
Tritanopia (blue-blind)
#2D0C18
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2b072b;
/* rgb */ color: rgb(43, 7, 43);
/* oklch */ color: oklch(21.4% 0.079 327.9);
Tailwind
colors: {
  custom: {
    50: '#664a64',
    500: '#2b072b',
    950: '#000000',
  },
}
SCSS
$custom: #2b072b;
$custom-light: #664a64;
$custom-dark: #000000;
JSON
{
  "hex": "#2b072b",
  "rgb": {
    "r": 43,
    "g": 7,
    "b": 43
  },
  "hsl": {
    "h": 300,
    "s": 72,
    "l": 9.804
  },
  "oklch": {
    "l": 0.21362,
    "c": 0.079,
    "h": 327.9
  },
  "luminance": 0.0084
}

Semantic roles & 50–950 ramp

primary
#2B072B
secondary
#236B23
accent
#EF3939
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060105
muted
#7A777A

Preview Lab

Preview with #2B072B

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

Preview Lab → · Contrast checker → · Palette generator →

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