#2B0431#2B0431

#2B0431 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.4% C 0.091 H 322.0°. Best body text is #FFFFFF at 18.04:1 contrast (WCAG AA passes).

Color values

HEX#2B0431
RGBrgb(43, 4, 49)
HSLhsl(292, 85%, 10%)
HSVhsv(292, 92%, 19%)
CMYKcmyk(12.2%, 91.8%, 0%, 80.8%)
CIE-LABlab(7.43, 27.00, -19.88)
CIE-LCHlch(7.43, 33.53, 323.64°)
OKLaboklab(21.39% 0.0715 -0.0557)
OKLCHoklch(21.39% 0.091 322)
XYZxyz(1.5940, 0.8223, 2.9799)
Luminance0.0082 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0431 #0A3104
analogous
#140431 #2B0431 #310420
triadic
#2B0431 #312B04 #04312B
tetradic
#2B0431 #311404 #0A3104 #042031
square
#2B0431 #311404 #0A3104 #042031
split-complementary
#2B0431 #203104 #043114
monochromatic
#19021C #19021C #2B0431 #5D096A #8E0DA2

Accessibility & contrast

On white

18.04
#2B0431 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0431
18.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0431#FFFFFF#000000##FFFFFF
##2B04311.0018.041.1618.04
#FFFFFF18.041.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001432
Deuteranopia (green-blind)
#0A1830
Tritanopia (blue-blind)
#2C0C1A
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2b0431;
/* rgb */ color: rgb(43, 4, 49);
/* oklch */ color: oklch(21.4% 0.091 322.0);
Tailwind
colors: {
  custom: {
    50: '#674969',
    500: '#2b0431',
    950: '#000000',
  },
}
SCSS
$custom: #2b0431;
$custom-light: #674969;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0431",
  "rgb": {
    "r": 43,
    "g": 4,
    "b": 49
  },
  "hsl": {
    "h": 292,
    "s": 84.906,
    "l": 10.392
  },
  "oklch": {
    "l": 0.21385,
    "c": 0.09062,
    "h": 322
  },
  "luminance": 0.00822
}

Semantic roles & 50–950 ramp

primary
#2B0431
secondary
#29731D
accent
#FB2D48
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2B0431

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

Preview Lab → · Contrast checker → · Palette generator →

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