#2B0726#2B0726

#2B0726 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.0% C 0.074 H 333.9°. Best body text is #FFFFFF at 18.09:1 contrast (WCAG AA passes).

Color values

HEX#2B0726
RGBrgb(43, 7, 38)
HSLhsl(308, 72%, 10%)
HSVhsv(308, 84%, 17%)
CMYKcmyk(0%, 83.7%, 11.6%, 83.1%)
CIE-LABlab(7.28, 22.88, -11.87)
CIE-LCHlch(7.28, 25.77, 332.58°)
OKLaboklab(21.02% 0.0666 -0.0326)
OKLCHoklch(21.02% 0.074 333.9)
XYZxyz(1.4221, 0.8056, 1.9139)
Luminance0.0080 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0726 #072B0C
analogous
#1E072B #2B0726 #2B0714
triadic
#2B0726 #262B07 #07262B
tetradic
#2B0726 #2B1E07 #072B0C #07142B
square
#2B0726 #2B1E07 #072B0C #07142B
split-complementary
#2B0726 #142B07 #072B1E
monochromatic
#1A0417 #1A0417 #2B0726 #601055 #941883

Accessibility & contrast

On white

18.09
#2B0726 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#2B0726 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0726
18.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0726#FFFFFF#000000##FFFFFF
##2B07261.0018.091.1618.09
#FFFFFF18.091.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061327
Deuteranopia (green-blind)
#131825
Tritanopia (blue-blind)
#2D0A15
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2b0726;
/* rgb */ color: rgb(43, 7, 38);
/* oklch */ color: oklch(21.0% 0.074 333.9);
Tailwind
colors: {
  custom: {
    50: '#664a60',
    500: '#2b0726',
    950: '#000000',
  },
}
SCSS
$custom: #2b0726;
$custom-light: #664a60;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0726",
  "rgb": {
    "r": 43,
    "g": 7,
    "b": 38
  },
  "hsl": {
    "h": 308.333,
    "s": 72,
    "l": 9.804
  },
  "oklch": {
    "l": 0.2102,
    "c": 0.07409,
    "h": 333.9
  },
  "luminance": 0.00805
}

Semantic roles & 50–950 ramp

primary
#2B0726
secondary
#236B2D
accent
#EF5239
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060105
muted
#7A7779

Preview Lab

Preview with #2B0726

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

Preview Lab → · Contrast checker → · Palette generator →

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