#2C0C2B#2C0C2B

#2C0C2B is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.3% C 0.071 H 328.9°. Best body text is #FFFFFF at 17.58:1 contrast (WCAG AA passes).

Color values

HEX#2C0C2B
RGBrgb(44, 12, 43)
HSLhsl(302, 57%, 11%)
HSVhsv(302, 73%, 17%)
CMYKcmyk(0%, 72.7%, 2.3%, 82.7%)
CIE-LABlab(8.76, 21.57, -13.29)
CIE-LCHlch(8.76, 25.33, 328.36°)
OKLaboklab(22.26% 0.0605 -0.0366)
OKLCHoklch(22.26% 0.071 328.9)
XYZxyz(1.6062, 0.9729, 2.3882)
Luminance0.0097 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0C2B #0C2C0D
analogous
#1D0C2C #2C0C2B #2C0C1B
triadic
#2C0C2B #2B2C0C #0C2B2C
tetradic
#2C0C2B #2C1D0C #0C2C0D #0C1B2C
square
#2C0C2B #2C1D0C #0C2C0D #0C1B2C
split-complementary
#2C0C2B #1B2C0C #0C2C1D
monochromatic
#180717 #180717 #2C0C2B #5C195A #8C2689

Accessibility & contrast

On white

17.58
#2C0C2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0C2B
17.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0C2B#FFFFFF#000000##FFFFFF
##2C0C2B1.0017.581.1917.58
#FFFFFF17.581.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09162C
Deuteranopia (green-blind)
#141B2A
Tritanopia (blue-blind)
#2E1019
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2c0c2b;
/* rgb */ color: rgb(44, 12, 43);
/* oklch */ color: oklch(22.3% 0.071 328.9);
Tailwind
colors: {
  custom: {
    50: '#664d64',
    500: '#2c0c2b',
    950: '#000000',
  },
}
SCSS
$custom: #2c0c2b;
$custom-light: #664d64;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0c2b",
  "rgb": {
    "r": 44,
    "g": 12,
    "b": 43
  },
  "hsl": {
    "h": 301.875,
    "s": 57.143,
    "l": 10.98
  },
  "oklch": {
    "l": 0.22257,
    "c": 0.07072,
    "h": 328.9
  },
  "luminance": 0.00973
}

Semantic roles & 50–950 ramp

primary
#2C0C2B
secondary
#2C672E
accent
#E04C47
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060105
muted
#7A777A

Preview Lab

Preview with #2C0C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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