#2C072D#2C072D

#2C072D is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.7% C 0.082 H 326.8°. Best body text is #FFFFFF at 17.87:1 contrast (WCAG AA passes).

Color values

HEX#2C072D
RGBrgb(44, 7, 45)
HSLhsl(298, 73%, 10%)
HSVhsv(298, 84%, 18%)
CMYKcmyk(2.2%, 84.4%, 0%, 82.4%)
CIE-LABlab(7.92, 24.72, -16.11)
CIE-LCHlch(7.92, 29.50, 326.91°)
OKLaboklab(21.69% 0.0684 -0.0447)
OKLCHoklch(21.69% 0.082 326.8)
XYZxyz(1.5883, 0.8770, 2.5677)
Luminance0.0088 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C072D #082D07
analogous
#19072D #2C072D #2D071B
triadic
#2C072D #2D2C07 #072D2C
tetradic
#2C072D #2D1907 #082D07 #071B2D
square
#2C072D #2D1907 #082D07 #071B2D
split-complementary
#2C072D #1B2D07 #072D19
monochromatic
#1A041A #1A041A #2C072D #600F62 #941797

Accessibility & contrast

On white

17.87
#2C072D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#2C072D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C072D
17.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C072D#FFFFFF#000000##FFFFFF
##2C072D1.0017.871.1817.87
#FFFFFF17.871.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02142E
Deuteranopia (green-blind)
#10192C
Tritanopia (blue-blind)
#2D0D19
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2c072d;
/* rgb */ color: rgb(44, 7, 45);
/* oklch */ color: oklch(21.7% 0.082 326.8);
Tailwind
colors: {
  custom: {
    50: '#674a66',
    500: '#2c072d',
    950: '#000000',
  },
}
SCSS
$custom: #2c072d;
$custom-light: #674a66;
$custom-dark: #000000;
JSON
{
  "hex": "#2c072d",
  "rgb": {
    "r": 44,
    "g": 7,
    "b": 45
  },
  "hsl": {
    "h": 298.421,
    "s": 73.077,
    "l": 10.196
  },
  "oklch": {
    "l": 0.21691,
    "c": 0.08166,
    "h": 326.8
  },
  "luminance": 0.00877
}

Semantic roles & 50–950 ramp

primary
#2C072D
secondary
#256D23
accent
#F0383D
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2C072D

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

Preview Lab → · Contrast checker → · Palette generator →

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