#2B032C#2B032C

#2B032C is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 20.8% C 0.088 H 327.1°. Best body text is #FFFFFF at 18.23:1 contrast (WCAG AA passes).

Color values

HEX#2B032C
RGBrgb(43, 3, 44)
HSLhsl(299, 87%, 9%)
HSVhsv(299, 93%, 17%)
CMYKcmyk(2.3%, 93.2%, 0%, 82.7%)
CIE-LABlab(6.87, 26.37, -17.04)
CIE-LCHlch(6.87, 31.39, 327.13°)
OKLaboklab(20.84% 0.0737 -0.0476)
OKLCHoklch(20.84% 0.088 327.1)
XYZxyz(1.4834, 0.7607, 2.4511)
Luminance0.0076 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B032C #042C03
analogous
#17032C #2B032C #2C0319
triadic
#2B032C #2C2B03 #032C2B
tetradic
#2B032C #2C1703 #042C03 #03192C
square
#2B032C #2C1703 #042C03 #03192C
split-complementary
#2B032C #192C03 #032C17
monochromatic
#1C021D #1C021D #2B032C #630765 #9B0B9F

Accessibility & contrast

On white

18.23
#2B032C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#2B032C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B032C
18.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B032C#FFFFFF#000000##FFFFFF
##2B032C1.0018.231.1518.23
#FFFFFF18.231.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b032c;
/* rgb */ color: rgb(43, 3, 44);
/* oklch */ color: oklch(20.8% 0.088 327.1);
Tailwind
colors: {
  custom: {
    50: '#664865',
    500: '#2b032c',
    950: '#000000',
  },
}
SCSS
$custom: #2b032c;
$custom-light: #664865;
$custom-dark: #000000;
JSON
{
  "hex": "#2b032c",
  "rgb": {
    "r": 43,
    "g": 3,
    "b": 44
  },
  "hsl": {
    "h": 298.537,
    "s": 87.234,
    "l": 9.216
  },
  "oklch": {
    "l": 0.20837,
    "c": 0.08775,
    "h": 327.1
  },
  "luminance": 0.00761
}

Semantic roles & 50–950 ramp

primary
#2B032C
secondary
#1D701B
accent
#FD2A30
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#060005
muted
#7A777A

Preview Lab

Preview with #2B032C

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

Preview Lab → · Contrast checker → · Palette generator →

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