#2C072B#2C072B

#2C072B is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.5% C 0.080 H 329.0°. Best body text is #FFFFFF at 17.91:1 contrast (WCAG AA passes).

Color values

HEX#2C072B
RGBrgb(44, 7, 43)
HSLhsl(302, 73%, 10%)
HSVhsv(302, 84%, 17%)
CMYKcmyk(0%, 84.1%, 2.3%, 82.7%)
CIE-LABlab(7.79, 24.29, -14.83)
CIE-LCHlch(7.79, 28.46, 328.59°)
OKLaboklab(21.55% 0.0683 -0.041)
OKLCHoklch(21.55% 0.08 329)
XYZxyz(1.5507, 0.8620, 2.3697)
Luminance0.0086 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C072B #072C08
analogous
#1B072C #2C072B #2C0718
triadic
#2C072B #2B2C07 #072B2C
tetradic
#2C072B #2C1B07 #072C08 #07182C
square
#2C072B #2C1B07 #072C08 #07182C
split-complementary
#2C072B #182C07 #072C1B
monochromatic
#1A041A #1A041A #2C072B #610F5F #961892

Accessibility & contrast

On white

17.91
#2C072B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#2C072B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C072B
17.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C072B#FFFFFF#000000##FFFFFF
##2C072B1.0017.911.1717.91
#FFFFFF17.911.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04142C
Deuteranopia (green-blind)
#11192A
Tritanopia (blue-blind)
#2E0C18
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2c072b;
/* rgb */ color: rgb(44, 7, 43);
/* oklch */ color: oklch(21.5% 0.080 329.0);
Tailwind
colors: {
  custom: {
    50: '#674a64',
    500: '#2c072b',
    950: '#000000',
  },
}
SCSS
$custom: #2c072b;
$custom-light: #674a64;
$custom-dark: #000000;
JSON
{
  "hex": "#2c072b",
  "rgb": {
    "r": 44,
    "g": 7,
    "b": 43
  },
  "hsl": {
    "h": 301.622,
    "s": 72.549,
    "l": 10
  },
  "oklch": {
    "l": 0.21547,
    "c": 0.07965,
    "h": 329
  },
  "luminance": 0.00862
}

Semantic roles & 50–950 ramp

primary
#2C072B
secondary
#236C25
accent
#EF3D39
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060105
muted
#7A777A

Preview Lab

Preview with #2C072B

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

Preview Lab → · Contrast checker → · Palette generator →

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