#2C072C#2C072C

#2C072C is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.6% C 0.081 H 327.9°. Best body text is #FFFFFF at 17.89:1 contrast (WCAG AA passes).

Color values

HEX#2C072C
RGBrgb(44, 7, 44)
HSLhsl(300, 73%, 10%)
HSVhsv(300, 84%, 17%)
CMYKcmyk(0%, 84.1%, 0%, 82.7%)
CIE-LABlab(7.85, 24.50, -15.47)
CIE-LCHlch(7.85, 28.98, 327.73°)
OKLaboklab(21.62% 0.0683 -0.0428)
OKLCHoklch(21.62% 0.081 327.9)
XYZxyz(1.5693, 0.8694, 2.4675)
Luminance0.0087 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C072C #072C07
analogous
#19072C #2C072C #2C071A
triadic
#2C072C #2C2C07 #072C2C
tetradic
#2C072C #2C1A07 #072C07 #07192C
square
#2C072C #2C1A07 #072C07 #07192C
split-complementary
#2C072C #1A2C07 #072C1A
monochromatic
#1A041A #1A041A #2C072C #610F61 #961896

Accessibility & contrast

On white

17.89
#2C072C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C072C
17.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C072C#FFFFFF#000000##FFFFFF
##2C072C1.0017.891.1717.89
#FFFFFF17.891.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03142D
Deuteranopia (green-blind)
#10192B
Tritanopia (blue-blind)
#2E0C18
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2c072c;
/* rgb */ color: rgb(44, 7, 44);
/* oklch */ color: oklch(21.6% 0.081 327.9);
Tailwind
colors: {
  custom: {
    50: '#674a65',
    500: '#2c072c',
    950: '#000000',
  },
}
SCSS
$custom: #2c072c;
$custom-light: #674a65;
$custom-dark: #000000;
JSON
{
  "hex": "#2c072c",
  "rgb": {
    "r": 44,
    "g": 7,
    "b": 44
  },
  "hsl": {
    "h": 300,
    "s": 72.549,
    "l": 10
  },
  "oklch": {
    "l": 0.21619,
    "c": 0.08065,
    "h": 327.9
  },
  "luminance": 0.00869
}

Semantic roles & 50–950 ramp

primary
#2C072C
secondary
#236C23
accent
#EF3939
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060105
muted
#7A777A

Preview Lab

Preview with #2C072C

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

Preview Lab → · Contrast checker → · Palette generator →

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