#2B0D2D#2B0D2D

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

Color values

HEX#2B0D2D
RGBrgb(43, 13, 45)
HSLhsl(296, 55%, 11%)
HSVhsv(296, 71%, 18%)
CMYKcmyk(4.4%, 71.1%, 0%, 82.4%)
CIE-LABlab(8.92, 21.11, -14.55)
CIE-LCHlch(8.92, 25.64, 325.43°)
OKLaboklab(22.37% 0.0577 -0.0402)
OKLCHoklch(22.37% 0.07 325.1)
XYZxyz(1.6138, 0.9910, 2.5884)
Luminance0.0099 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0D2D #0F2D0D
analogous
#1B0D2D #2B0D2D #2D0D1F
triadic
#2B0D2D #2D2B0D #0D2D2B
tetradic
#2B0D2D #2D1B0D #0F2D0D #0D1F2D
square
#2B0D2D #2D1B0D #0F2D0D #0D1F2D
split-complementary
#2B0D2D #1F2D0D #0D2D1B
monochromatic
#170718 #170718 #2B0D2D #581B5C #86288C

Accessibility & contrast

On white

17.53
#2B0D2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0D2D
17.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0D2D#FFFFFF#000000##FFFFFF
##2B0D2D1.0017.531.2017.53
#FFFFFF17.531.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08172E
Deuteranopia (green-blind)
#131B2C
Tritanopia (blue-blind)
#2C111B
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2b0d2d;
/* rgb */ color: rgb(43, 13, 45);
/* oklch */ color: oklch(22.4% 0.070 325.1);
Tailwind
colors: {
  custom: {
    50: '#664e66',
    500: '#2b0d2d',
    950: '#000000',
  },
}
SCSS
$custom: #2b0d2d;
$custom-light: #664e66;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0d2d",
  "rgb": {
    "r": 43,
    "g": 13,
    "b": 45
  },
  "hsl": {
    "h": 296.25,
    "s": 55.172,
    "l": 11.373
  },
  "oklch": {
    "l": 0.22372,
    "c": 0.07036,
    "h": 325.1
  },
  "luminance": 0.00991
}

Semantic roles & 50–950 ramp

primary
#2B0D2D
secondary
#32682E
accent
#DF4953
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2B0D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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