#2C0C2A#2C0C2A

#2C0C2A is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.2% C 0.070 H 330.1°. Best body text is #FFFFFF at 17.60:1 contrast (WCAG AA passes).

Color values

HEX#2C0C2A
RGBrgb(44, 12, 42)
HSLhsl(304, 57%, 11%)
HSVhsv(304, 73%, 17%)
CMYKcmyk(0%, 72.7%, 4.5%, 82.7%)
CIE-LABlab(8.70, 21.35, -12.64)
CIE-LCHlch(8.70, 24.81, 329.38°)
OKLaboklab(22.19% 0.0604 -0.0347)
OKLCHoklch(22.19% 0.07 330.1)
XYZxyz(1.5881, 0.9657, 2.2928)
Luminance0.0097 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0C2A #0C2C0E
analogous
#1E0C2C #2C0C2A #2C0C1A
triadic
#2C0C2A #2A2C0C #0C2A2C
tetradic
#2C0C2A #2C1E0C #0C2C0E #0C1A2C
square
#2C0C2A #2C1E0C #0C2C0E #0C1A2C
split-complementary
#2C0C2A #1A2C0C #0C2C1E
monochromatic
#180717 #180717 #2C0C2A #5C1958 #8C2686

Accessibility & contrast

On white

17.60
#2C0C2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#2C0C2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0C2A
17.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0C2A#FFFFFF#000000##FFFFFF
##2C0C2A1.0017.601.1917.60
#FFFFFF17.601.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A162B
Deuteranopia (green-blind)
#141A29
Tritanopia (blue-blind)
#2E0F19
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2c0c2a;
/* rgb */ color: rgb(44, 12, 42);
/* oklch */ color: oklch(22.2% 0.070 330.1);
Tailwind
colors: {
  custom: {
    50: '#664d63',
    500: '#2c0c2a',
    950: '#000000',
  },
}
SCSS
$custom: #2c0c2a;
$custom-light: #664d63;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0c2a",
  "rgb": {
    "r": 44,
    "g": 12,
    "b": 42
  },
  "hsl": {
    "h": 303.75,
    "s": 57.143,
    "l": 10.98
  },
  "oklch": {
    "l": 0.22192,
    "c": 0.06966,
    "h": 330.1
  },
  "luminance": 0.00966
}

Semantic roles & 50–950 ramp

primary
#2C0C2A
secondary
#2C6730
accent
#E05147
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060105
muted
#7A7779

Preview Lab

Preview with #2C0C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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