#2B0B31#2B0B31

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

Color values

HEX#2B0B31
RGBrgb(43, 11, 49)
HSLhsl(291, 63%, 12%)
HSVhsv(291, 78%, 19%)
CMYKcmyk(12.2%, 77.6%, 0%, 80.8%)
CIE-LABlab(8.78, 23.18, -17.72)
CIE-LCHlch(8.78, 29.18, 322.61°)
OKLaboklab(22.36% 0.061 -0.0494)
OKLCHoklch(22.36% 0.079 321)
XYZxyz(1.6702, 0.9748, 3.0053)
Luminance0.0097 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0B31 #11310B
analogous
#180B31 #2B0B31 #310B24
triadic
#2B0B31 #312B0B #0B312B
tetradic
#2B0B31 #31180B #11310B #0B2431
square
#2B0B31 #31180B #11310B #0B2431
split-complementary
#2B0B31 #24310B #0B3118
monochromatic
#160619 #160619 #2B0B31 #571663 #832195

Accessibility & contrast

On white

17.57
#2B0B31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#2B0B31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0B31
17.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0B31#FFFFFF#000000##FFFFFF
##2B0B311.0017.571.2017.57
#FFFFFF17.571.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031732
Deuteranopia (green-blind)
#0F1A30
Tritanopia (blue-blind)
#2B111C
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2b0b31;
/* rgb */ color: rgb(43, 11, 49);
/* oklch */ color: oklch(22.4% 0.079 321.0);
Tailwind
colors: {
  custom: {
    50: '#664d69',
    500: '#2b0b31',
    950: '#000000',
  },
}
SCSS
$custom: #2b0b31;
$custom-light: #664d69;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0b31",
  "rgb": {
    "r": 43,
    "g": 11,
    "b": 49
  },
  "hsl": {
    "h": 290.526,
    "s": 63.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22361,
    "c": 0.07852,
    "h": 321
  },
  "luminance": 0.00975
}

Semantic roles & 50–950 ramp

primary
#2B0B31
secondary
#356E2A
accent
#E6415B
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2B0B31

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

Preview Lab → · Contrast checker → · Palette generator →

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