#2B0836#2B0836

#2B0836 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.4% C 0.089 H 316.8°. Best body text is #FFFFFF at 17.64:1 contrast (WCAG AA passes).

Color values

HEX#2B0836
RGBrgb(43, 8, 54)
HSLhsl(286, 74%, 12%)
HSVhsv(286, 85%, 21%)
CMYKcmyk(20.4%, 85.2%, 0%, 78.8%)
CIE-LABlab(8.60, 25.97, -21.67)
CIE-LCHlch(8.60, 33.82, 320.16°)
OKLaboklab(22.35% 0.0648 -0.061)
OKLCHoklch(22.35% 0.089 316.8)
XYZxyz(1.7488, 0.9537, 3.5813)
Luminance0.0095 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0836 #133608
analogous
#140836 #2B0836 #36082A
triadic
#2B0836 #362B08 #08362B
tetradic
#2B0836 #361408 #133608 #082A36
square
#2B0836 #361408 #133608 #082A36
split-complementary
#2B0836 #2A3608 #083614
monochromatic
#15041B #15041B #2B0836 #55106B #8018A1

Accessibility & contrast

On white

17.64
#2B0836 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#2B0836 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0836
17.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0836#FFFFFF#000000##FFFFFF
##2B08361.0017.641.1917.64
#FFFFFF17.641.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001737
Deuteranopia (green-blind)
#081A35
Tritanopia (blue-blind)
#2A111E
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2b0836;
/* rgb */ color: rgb(43, 8, 54);
/* oklch */ color: oklch(22.4% 0.089 316.8);
Tailwind
colors: {
  custom: {
    50: '#664b6d',
    500: '#2b0836',
    950: '#000000',
  },
}
SCSS
$custom: #2b0836;
$custom-light: #664b6d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0836",
  "rgb": {
    "r": 43,
    "g": 8,
    "b": 54
  },
  "hsl": {
    "h": 285.652,
    "s": 74.194,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22354,
    "c": 0.089,
    "h": 316.8
  },
  "luminance": 0.00954
}

Semantic roles & 50–950 ramp

primary
#2B0836
secondary
#387525
accent
#F13763
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2B0836

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

Preview Lab → · Contrast checker → · Palette generator →

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