#2B0729#2B0729

#2B0729 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.2% C 0.077 H 330.2°. Best body text is #FFFFFF at 18.02:1 contrast (WCAG AA passes).

Color values

HEX#2B0729
RGBrgb(43, 7, 41)
HSLhsl(303, 72%, 10%)
HSVhsv(303, 84%, 17%)
CMYKcmyk(0%, 83.7%, 4.7%, 83.1%)
CIE-LABlab(7.46, 23.53, -13.85)
CIE-LCHlch(7.46, 27.30, 329.51°)
OKLaboklab(21.22% 0.0668 -0.0382)
OKLCHoklch(21.22% 0.077 330.2)
XYZxyz(1.4725, 0.8258, 2.1792)
Luminance0.0083 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0729 #072B09
analogous
#1B072B #2B0729 #2B0717
triadic
#2B0729 #292B07 #07292B
tetradic
#2B0729 #2B1B07 #072B09 #07172B
square
#2B0729 #2B1B07 #072B09 #07172B
split-complementary
#2B0729 #172B07 #072B1B
monochromatic
#1A0419 #1A0419 #2B0729 #60105B #94188D

Accessibility & contrast

On white

18.02
#2B0729 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0729
18.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0729#FFFFFF#000000##FFFFFF
##2B07291.0018.021.1718.02
#FFFFFF18.021.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05132A
Deuteranopia (green-blind)
#111828
Tritanopia (blue-blind)
#2D0B17
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2b0729;
/* rgb */ color: rgb(43, 7, 41);
/* oklch */ color: oklch(21.2% 0.077 330.2);
Tailwind
colors: {
  custom: {
    50: '#664a63',
    500: '#2b0729',
    950: '#000000',
  },
}
SCSS
$custom: #2b0729;
$custom-light: #664a63;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0729",
  "rgb": {
    "r": 43,
    "g": 7,
    "b": 41
  },
  "hsl": {
    "h": 303.333,
    "s": 72,
    "l": 9.804
  },
  "oklch": {
    "l": 0.21221,
    "c": 0.07701,
    "h": 330.2
  },
  "luminance": 0.00826
}

Semantic roles & 50–950 ramp

primary
#2B0729
secondary
#236B27
accent
#EF4339
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060105
muted
#7A7779

Preview Lab

Preview with #2B0729

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

Preview Lab → · Contrast checker → · Palette generator →

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