#2B042B#2B042B

#2B042B is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 20.9% C 0.085 H 328.1°. Best body text is #FFFFFF at 18.18:1 contrast (WCAG AA passes).

Color values

HEX#2B042B
RGBrgb(43, 4, 43)
HSLhsl(300, 83%, 9%)
HSVhsv(300, 91%, 17%)
CMYKcmyk(0%, 90.7%, 0%, 83.1%)
CIE-LABlab(7.00, 25.60, -16.08)
CIE-LCHlch(7.00, 30.23, 327.86°)
OKLaboklab(20.91% 0.072 -0.0448)
OKLCHoklch(20.91% 0.085 328.1)
XYZxyz(1.4757, 0.7750, 2.3569)
Luminance0.0077 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B042B #042B04
analogous
#18042B #2B042B #2B0418
triadic
#2B042B #2B2B04 #042B2B
tetradic
#2B042B #2B1804 #042B04 #04182B
square
#2B042B #2B1804 #042B04 #04182B
split-complementary
#2B042B #182B04 #042B18
monochromatic
#1C031C #1C031C #2B042B #630963 #9B0E9B

Accessibility & contrast

On white

18.18
#2B042B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B042B
18.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B042B#FFFFFF#000000##FFFFFF
##2B042B1.0018.181.1618.18
#FFFFFF18.181.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00122C
Deuteranopia (green-blind)
#0E172A
Tritanopia (blue-blind)
#2D0917
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2b042b;
/* rgb */ color: rgb(43, 4, 43);
/* oklch */ color: oklch(20.9% 0.085 328.1);
Tailwind
colors: {
  custom: {
    50: '#664864',
    500: '#2b042b',
    950: '#000000',
  },
}
SCSS
$custom: #2b042b;
$custom-light: #664864;
$custom-dark: #000000;
JSON
{
  "hex": "#2b042b",
  "rgb": {
    "r": 43,
    "g": 4,
    "b": 43
  },
  "hsl": {
    "h": 300,
    "s": 82.979,
    "l": 9.216
  },
  "oklch": {
    "l": 0.20914,
    "c": 0.0848,
    "h": 328.1
  },
  "luminance": 0.00775
}

Semantic roles & 50–950 ramp

primary
#2B042B
secondary
#1D6E1D
accent
#F92E2E
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060105
muted
#7A777A

Preview Lab

Preview with #2B042B

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

Preview Lab → · Contrast checker → · Palette generator →

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