#2C0D2C#2C0D2C

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

Color values

HEX#2C0D2C
RGBrgb(44, 13, 44)
HSLhsl(300, 54%, 11%)
HSVhsv(300, 70%, 17%)
CMYKcmyk(0%, 70.5%, 0%, 82.7%)
CIE-LABlab(9.04, 21.22, -13.61)
CIE-LCHlch(9.04, 25.21, 327.33°)
OKLaboklab(22.48% 0.0591 -0.0375)
OKLCHoklch(22.48% 0.07 327.6)
XYZxyz(1.6372, 1.0053, 2.4902)
Luminance0.0100 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0D2C #0D2C0D
analogous
#1C0D2C #2C0D2C #2C0D1C
triadic
#2C0D2C #2C2C0D #0D2C2C
tetradic
#2C0D2C #2C1C0D #0D2C0D #0D1C2C
square
#2C0D2C #2C1C0D #0D2C0D #0D1C2C
split-complementary
#2C0D2C #1C2C0D #0D2C1C
monochromatic
#180718 #180718 #2C0D2C #5B1B5B #8A298A

Accessibility & contrast

On white

17.49
#2C0D2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#2C0D2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0D2C
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0D2C#FFFFFF#000000##FFFFFF
##2C0D2C1.0017.491.2017.49
#FFFFFF17.491.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A172D
Deuteranopia (green-blind)
#141B2B
Tritanopia (blue-blind)
#2E111A
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2c0d2c;
/* rgb */ color: rgb(44, 13, 44);
/* oklch */ color: oklch(22.5% 0.070 327.6);
Tailwind
colors: {
  custom: {
    50: '#664e65',
    500: '#2c0d2c',
    950: '#000000',
  },
}
SCSS
$custom: #2c0d2c;
$custom-light: #664e65;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0d2c",
  "rgb": {
    "r": 44,
    "g": 13,
    "b": 44
  },
  "hsl": {
    "h": 300,
    "s": 54.386,
    "l": 11.176
  },
  "oklch": {
    "l": 0.22476,
    "c": 0.06995,
    "h": 327.6
  },
  "luminance": 0.01005
}

Semantic roles & 50–950 ramp

primary
#2C0D2C
secondary
#2E672E
accent
#DE4A4A
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060105
muted
#7A777A

Preview Lab

Preview with #2C0D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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