#2B042D#2B042D

#2B042D is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.1% C 0.087 H 326.0°. Best body text is #FFFFFF at 18.13:1 contrast (WCAG AA passes).

Color values

HEX#2B042D
RGBrgb(43, 4, 45)
HSLhsl(297, 84%, 10%)
HSVhsv(297, 91%, 18%)
CMYKcmyk(4.4%, 91.1%, 0%, 82.4%)
CIE-LABlab(7.14, 26.06, -17.37)
CIE-LCHlch(7.14, 31.32, 326.32°)
OKLaboklab(21.07% 0.0719 -0.0485)
OKLCHoklch(21.07% 0.087 326)
XYZxyz(1.5133, 0.7900, 2.5549)
Luminance0.0079 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B042D #062D04
analogous
#17042D #2B042D #2D041B
triadic
#2B042D #2D2B04 #042D2B
tetradic
#2B042D #2D1704 #062D04 #041B2D
square
#2B042D #2D1704 #062D04 #041B2D
split-complementary
#2B042D #1B2D04 #042D17
monochromatic
#1B021C #1B021C #2B042D #610965 #960E9D

Accessibility & contrast

On white

18.13
#2B042D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#2B042D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B042D
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B042D#FFFFFF#000000##FFFFFF
##2B042D1.0018.131.1618.13
#FFFFFF18.131.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00132E
Deuteranopia (green-blind)
#0D172C
Tritanopia (blue-blind)
#2C0A18
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2b042d;
/* rgb */ color: rgb(43, 4, 45);
/* oklch */ color: oklch(21.1% 0.087 326.0);
Tailwind
colors: {
  custom: {
    50: '#664866',
    500: '#2b042d',
    950: '#000000',
  },
}
SCSS
$custom: #2b042d;
$custom-light: #664866;
$custom-dark: #000000;
JSON
{
  "hex": "#2b042d",
  "rgb": {
    "r": 43,
    "g": 4,
    "b": 45
  },
  "hsl": {
    "h": 297.073,
    "s": 83.673,
    "l": 9.608
  },
  "oklch": {
    "l": 0.21066,
    "c": 0.08671,
    "h": 326
  },
  "luminance": 0.0079
}

Semantic roles & 50–950 ramp

primary
#2B042D
secondary
#21701D
accent
#FA2E38
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2B042D

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

Preview Lab → · Contrast checker → · Palette generator →

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