#2B0826#2B0826

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

Color values

HEX#2B0826
RGBrgb(43, 8, 38)
HSLhsl(309, 69%, 10%)
HSVhsv(309, 81%, 17%)
CMYKcmyk(0%, 81.4%, 11.6%, 83.1%)
CIE-LABlab(7.47, 22.34, -11.56)
CIE-LCHlch(7.47, 25.16, 332.64°)
OKLaboklab(21.17% 0.0649 -0.0316)
OKLCHoklch(21.17% 0.072 334)
XYZxyz(1.4330, 0.8273, 1.9176)
Luminance0.0083 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0826 #082B0D
analogous
#1E082B #2B0826 #2B0815
triadic
#2B0826 #262B08 #08262B
tetradic
#2B0826 #2B1E08 #082B0D #08152B
square
#2B0826 #2B1E08 #082B0D #08152B
split-complementary
#2B0826 #152B08 #082B1E
monochromatic
#1A0517 #1A0517 #2B0826 #5F1254 #921B81

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B0826#FFFFFF#000000##FFFFFF
##2B08261.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)
#071327
Deuteranopia (green-blind)
#131825
Tritanopia (blue-blind)
#2D0B15
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2b0826;
/* rgb */ color: rgb(43, 8, 38);
/* oklch */ color: oklch(21.2% 0.072 334.0);
Tailwind
colors: {
  custom: {
    50: '#664a60',
    500: '#2b0826',
    950: '#000000',
  },
}
SCSS
$custom: #2b0826;
$custom-light: #664a60;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0826",
  "rgb": {
    "r": 43,
    "g": 8,
    "b": 38
  },
  "hsl": {
    "h": 308.571,
    "s": 68.627,
    "l": 10
  },
  "oklch": {
    "l": 0.2117,
    "c": 0.07216,
    "h": 334
  },
  "luminance": 0.00827
}

Semantic roles & 50–950 ramp

primary
#2B0826
secondary
#256A2F
accent
#EB553C
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060105
muted
#7A7779

Preview Lab

Preview with #2B0826

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

Preview Lab → · Contrast checker → · Palette generator →

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