#2C032A#2C032A

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

Color values

HEX#2C032A
RGBrgb(44, 3, 42)
HSLhsl(303, 87%, 9%)
HSVhsv(303, 93%, 17%)
CMYKcmyk(0%, 93.2%, 4.5%, 82.7%)
CIE-LABlab(6.94, 26.25, -15.42)
CIE-LCHlch(6.94, 30.44, 329.57°)
OKLaboklab(20.88% 0.0751 -0.0429)
OKLCHoklch(20.88% 0.086 330.3)
XYZxyz(1.4892, 0.7679, 2.2598)
Luminance0.0077 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C032A #032C05
analogous
#1A032C #2C032A #2C0316
triadic
#2C032A #2A2C03 #032A2C
tetradic
#2C032A #2C1A03 #032C05 #03162C
square
#2C032A #2C1A03 #032C05 #03162C
split-complementary
#2C032A #162C03 #032C1A
monochromatic
#1D021B #1D021B #2C032A #650761 #9F0B97

Accessibility & contrast

On white

18.20
#2C032A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C032A
18.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C032A#FFFFFF#000000##FFFFFF
##2C032A1.0018.201.1518.20
#FFFFFF18.201.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00122B
Deuteranopia (green-blind)
#0F1729
Tritanopia (blue-blind)
#2E0816
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2c032a;
/* rgb */ color: rgb(44, 3, 42);
/* oklch */ color: oklch(20.9% 0.086 330.3);
Tailwind
colors: {
  custom: {
    50: '#674863',
    500: '#2c032a',
    950: '#000000',
  },
}
SCSS
$custom: #2c032a;
$custom-light: #674863;
$custom-dark: #000000;
JSON
{
  "hex": "#2c032a",
  "rgb": {
    "r": 44,
    "g": 3,
    "b": 42
  },
  "hsl": {
    "h": 302.927,
    "s": 87.234,
    "l": 9.216
  },
  "oklch": {
    "l": 0.20882,
    "c": 0.08647,
    "h": 330.3
  },
  "luminance": 0.00768
}

Semantic roles & 50–950 ramp

primary
#2C032A
secondary
#1B701F
accent
#FD352A
background
#F6F4F5
surface
#EBE6EA
border
#C6C2C6
text
#060105
muted
#7A7779

Preview Lab

Preview with #2C032A

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

Preview Lab → · Contrast checker → · Palette generator →

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