#2B0931#2B0931

#2B0931 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.1% C 0.082 H 321.3°. Best body text is #FFFFFF at 17.70:1 contrast (WCAG AA passes).

Color values

HEX#2B0931
RGBrgb(43, 9, 49)
HSLhsl(291, 69%, 11%)
HSVhsv(291, 82%, 19%)
CMYKcmyk(12.2%, 81.6%, 0%, 80.8%)
CIE-LABlab(8.40, 24.24, -18.32)
CIE-LCHlch(8.40, 30.39, 322.92°)
OKLaboklab(22.09% 0.0639 -0.0512)
OKLCHoklch(22.09% 0.082 321.3)
XYZxyz(1.6483, 0.9308, 2.9980)
Luminance0.0093 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0931 #0F3109
analogous
#170931 #2B0931 #310923
triadic
#2B0931 #312B09 #09312B
tetradic
#2B0931 #311709 #0F3109 #092331
square
#2B0931 #311709 #0F3109 #092331
split-complementary
#2B0931 #233109 #093117
monochromatic
#17051A #17051A #2B0931 #581265 #861C98

Accessibility & contrast

On white

17.70
#2B0931 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0931
17.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0931#FFFFFF#000000##FFFFFF
##2B09311.0017.701.1917.70
#FFFFFF17.701.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011632
Deuteranopia (green-blind)
#0E1A30
Tritanopia (blue-blind)
#2B101C
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2b0931;
/* rgb */ color: rgb(43, 9, 49);
/* oklch */ color: oklch(22.1% 0.082 321.3);
Tailwind
colors: {
  custom: {
    50: '#664b69',
    500: '#2b0931',
    950: '#000000',
  },
}
SCSS
$custom: #2b0931;
$custom-light: #664b69;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0931",
  "rgb": {
    "r": 43,
    "g": 9,
    "b": 49
  },
  "hsl": {
    "h": 291,
    "s": 68.966,
    "l": 11.373
  },
  "oklch": {
    "l": 0.22089,
    "c": 0.08184,
    "h": 321.3
  },
  "luminance": 0.00931
}

Semantic roles & 50–950 ramp

primary
#2B0931
secondary
#326F27
accent
#EC3C56
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2B0931

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

Preview Lab → · Contrast checker → · Palette generator →

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