#2B072D#2B072D

#2B072D is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.5% C 0.081 H 325.7°. Best body text is #FFFFFF at 17.93:1 contrast (WCAG AA passes).

Color values

HEX#2B072D
RGBrgb(43, 7, 45)
HSLhsl(297, 73%, 10%)
HSVhsv(297, 84%, 18%)
CMYKcmyk(4.4%, 84.4%, 0%, 82.4%)
CIE-LABlab(7.72, 24.42, -16.43)
CIE-LCHlch(7.72, 29.44, 326.06°)
OKLaboklab(21.51% 0.067 -0.0457)
OKLCHoklch(21.51% 0.081 325.7)
XYZxyz(1.5459, 0.8551, 2.5657)
Luminance0.0086 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B072D #092D07
analogous
#18072D #2B072D #2D071C
triadic
#2B072D #2D2B07 #072D2B
tetradic
#2B072D #2D1807 #092D07 #071C2D
square
#2B072D #2D1807 #092D07 #071C2D
split-complementary
#2B072D #1C2D07 #072D18
monochromatic
#19041A #19041A #2B072D #5E0F62 #901797

Accessibility & contrast

On white

17.93
#2B072D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B072D
17.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B072D#FFFFFF#000000##FFFFFF
##2B072D1.0017.931.1717.93
#FFFFFF17.931.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02142E
Deuteranopia (green-blind)
#0F192C
Tritanopia (blue-blind)
#2C0D19
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2b072d;
/* rgb */ color: rgb(43, 7, 45);
/* oklch */ color: oklch(21.5% 0.081 325.7);
Tailwind
colors: {
  custom: {
    50: '#664a66',
    500: '#2b072d',
    950: '#000000',
  },
}
SCSS
$custom: #2b072d;
$custom-light: #664a66;
$custom-dark: #000000;
JSON
{
  "hex": "#2b072d",
  "rgb": {
    "r": 43,
    "g": 7,
    "b": 45
  },
  "hsl": {
    "h": 296.842,
    "s": 73.077,
    "l": 10.196
  },
  "oklch": {
    "l": 0.21507,
    "c": 0.08105,
    "h": 325.7
  },
  "luminance": 0.00855
}

Semantic roles & 50–950 ramp

primary
#2B072D
secondary
#276D23
accent
#F03842
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2B072D

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

Preview Lab → · Contrast checker → · Palette generator →

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