#2D032C#2D032C

#2D032C is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.2% C 0.089 H 329.2°. Best body text is #FFFFFF at 18.09:1 contrast (WCAG AA passes).

Color values

HEX#2D032C
RGBrgb(45, 3, 44)
HSLhsl(301, 88%, 9%)
HSVhsv(301, 93%, 18%)
CMYKcmyk(0%, 93.3%, 2.2%, 82.4%)
CIE-LABlab(7.27, 27.01, -16.38)
CIE-LCHlch(7.27, 31.59, 328.77°)
OKLaboklab(21.23% 0.0763 -0.0455)
OKLCHoklch(21.23% 0.089 329.2)
XYZxyz(1.5694, 0.8050, 2.4551)
Luminance0.0080 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D032C #032D04
analogous
#19032D #2D032C #2D0317
triadic
#2D032C #2C2D03 #032C2D
tetradic
#2D032C #2D1903 #032D04 #03172D
square
#2D032C #2D1903 #032D04 #03172D
split-complementary
#2D032C #172D03 #032D19
monochromatic
#1D021C #1D021C #2D032C #660764 #A00B9C

Accessibility & contrast

On white

18.09
#2D032C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D032C
18.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D032C#FFFFFF#000000##FFFFFF
##2D032C1.0018.091.1618.09
#FFFFFF18.091.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00122D
Deuteranopia (green-blind)
#0F182B
Tritanopia (blue-blind)
#2F0817
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2d032c;
/* rgb */ color: rgb(45, 3, 44);
/* oklch */ color: oklch(21.2% 0.089 329.2);
Tailwind
colors: {
  custom: {
    50: '#684865',
    500: '#2d032c',
    950: '#000000',
  },
}
SCSS
$custom: #2d032c;
$custom-light: #684865;
$custom-dark: #000000;
JSON
{
  "hex": "#2d032c",
  "rgb": {
    "r": 45,
    "g": 3,
    "b": 44
  },
  "hsl": {
    "h": 301.429,
    "s": 87.5,
    "l": 9.412
  },
  "oklch": {
    "l": 0.21227,
    "c": 0.08885,
    "h": 329.2
  },
  "luminance": 0.00805
}

Semantic roles & 50–950 ramp

primary
#2D032C
secondary
#1B711D
accent
#FE2F2A
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060105
muted
#7A777A

Preview Lab

Preview with #2D032C

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

Preview Lab → · Contrast checker → · Palette generator →

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