#2C072A#2C072A

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

Color values

HEX#2C072A
RGBrgb(44, 7, 42)
HSLhsl(303, 73%, 10%)
HSVhsv(303, 84%, 17%)
CMYKcmyk(0%, 84.1%, 4.5%, 82.7%)
CIE-LABlab(7.72, 24.08, -14.18)
CIE-LCHlch(7.72, 27.94, 329.50°)
OKLaboklab(21.48% 0.0683 -0.0391)
OKLCHoklch(21.48% 0.079 330.2)
XYZxyz(1.5326, 0.8547, 2.2743)
Luminance0.0086 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C072A #072C09
analogous
#1B072C #2C072A #2C0718
triadic
#2C072A #2A2C07 #072A2C
tetradic
#2C072A #2C1B07 #072C09 #07182C
square
#2C072A #2C1B07 #072C09 #07182C
split-complementary
#2C072A #182C07 #072C1B
monochromatic
#1A0419 #1A0419 #2C072A #610F5C #96188F

Accessibility & contrast

On white

17.93
#2C072A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C072A
17.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C072A#FFFFFF#000000##FFFFFF
##2C072A1.0017.931.1717.93
#FFFFFF17.931.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04142B
Deuteranopia (green-blind)
#111929
Tritanopia (blue-blind)
#2E0B17
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2c072a;
/* rgb */ color: rgb(44, 7, 42);
/* oklch */ color: oklch(21.5% 0.079 330.2);
Tailwind
colors: {
  custom: {
    50: '#674a63',
    500: '#2c072a',
    950: '#000000',
  },
}
SCSS
$custom: #2c072a;
$custom-light: #674a63;
$custom-dark: #000000;
JSON
{
  "hex": "#2c072a",
  "rgb": {
    "r": 44,
    "g": 7,
    "b": 42
  },
  "hsl": {
    "h": 303.243,
    "s": 72.549,
    "l": 10
  },
  "oklch": {
    "l": 0.21478,
    "c": 0.07867,
    "h": 330.2
  },
  "luminance": 0.00855
}

Semantic roles & 50–950 ramp

primary
#2C072A
secondary
#236C27
accent
#EF4239
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060105
muted
#7A7779

Preview Lab

Preview with #2C072A

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

Preview Lab → · Contrast checker → · Palette generator →

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