#2B0D28#2B0D28

#2B0D28 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.0% C 0.065 H 331.5°. Best body text is #FFFFFF at 17.63:1 contrast (WCAG AA passes).

Color values

HEX#2B0D28
RGBrgb(43, 13, 40)
HSLhsl(306, 54%, 11%)
HSVhsv(306, 70%, 17%)
CMYKcmyk(0%, 69.8%, 7%, 83.1%)
CIE-LABlab(8.61, 19.99, -11.30)
CIE-LCHlch(8.61, 22.96, 330.52°)
OKLaboklab(22.05% 0.057 -0.0309)
OKLCHoklch(22.05% 0.065 331.5)
XYZxyz(1.5232, 0.9547, 2.1111)
Luminance0.0095 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0D28 #0D2B10
analogous
#1F0D2B #2B0D28 #2B0D19
triadic
#2B0D28 #282B0D #0D282B
tetradic
#2B0D28 #2B1F0D #0D2B10 #0D192B
square
#2B0D28 #2B1F0D #0D2B10 #0D192B
split-complementary
#2B0D28 #192B0D #0D2B1F
monochromatic
#170716 #170716 #2B0D28 #5A1B54 #89297F

Accessibility & contrast

On white

17.63
#2B0D28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0D28
17.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0D28#FFFFFF#000000##FFFFFF
##2B0D281.0017.631.1917.63
#FFFFFF17.631.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C1629
Deuteranopia (green-blind)
#151A27
Tritanopia (blue-blind)
#2D1018
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2b0d28;
/* rgb */ color: rgb(43, 13, 40);
/* oklch */ color: oklch(22.0% 0.065 331.5);
Tailwind
colors: {
  custom: {
    50: '#654d62',
    500: '#2b0d28',
    950: '#000000',
  },
}
SCSS
$custom: #2b0d28;
$custom-light: #654d62;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0d28",
  "rgb": {
    "r": 43,
    "g": 13,
    "b": 40
  },
  "hsl": {
    "h": 306,
    "s": 53.571,
    "l": 10.98
  },
  "oklch": {
    "l": 0.22047,
    "c": 0.06482,
    "h": 331.5
  },
  "luminance": 0.00955
}

Semantic roles & 50–950 ramp

primary
#2B0D28
secondary
#2E6634
accent
#DD594B
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060105
muted
#7A7779

Preview Lab

Preview with #2B0D28

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

Preview Lab → · Contrast checker → · Palette generator →

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