#2C0D2D#2C0D2D

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

Color values

HEX#2C0D2D
RGBrgb(44, 13, 45)
HSLhsl(298, 55%, 11%)
HSVhsv(298, 71%, 18%)
CMYKcmyk(2.2%, 71.1%, 0%, 82.4%)
CIE-LABlab(9.10, 21.45, -14.25)
CIE-LCHlch(9.10, 25.75, 326.40°)
OKLaboklab(22.54% 0.0592 -0.0393)
OKLCHoklch(22.54% 0.071 326.4)
XYZxyz(1.6563, 1.0129, 2.5904)
Luminance0.0101 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0D2D #0E2D0D
analogous
#1C0D2D #2C0D2D #2D0D1E
triadic
#2C0D2D #2D2C0D #0D2D2C
tetradic
#2C0D2D #2D1C0D #0E2D0D #0D1E2D
square
#2C0D2D #2D1C0D #0E2D0D #0D1E2D
split-complementary
#2C0D2D #1E2D0D #0D2D1C
monochromatic
#170718 #170718 #2C0D2D #5A1B5C #89288C

Accessibility & contrast

On white

17.46
#2C0D2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0D2D
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0D2D#FFFFFF#000000##FFFFFF
##2C0D2D1.0017.461.2017.46
#FFFFFF17.461.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09172E
Deuteranopia (green-blind)
#131B2C
Tritanopia (blue-blind)
#2D111B
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2c0d2d;
/* rgb */ color: rgb(44, 13, 45);
/* oklch */ color: oklch(22.5% 0.071 326.4);
Tailwind
colors: {
  custom: {
    50: '#664e66',
    500: '#2c0d2d',
    950: '#000000',
  },
}
SCSS
$custom: #2c0d2d;
$custom-light: #664e66;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0d2d",
  "rgb": {
    "r": 44,
    "g": 13,
    "b": 45
  },
  "hsl": {
    "h": 298.125,
    "s": 55.172,
    "l": 11.373
  },
  "oklch": {
    "l": 0.22542,
    "c": 0.07106,
    "h": 326.4
  },
  "luminance": 0.01013
}

Semantic roles & 50–950 ramp

primary
#2C0D2D
secondary
#30682E
accent
#DF494E
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2C0D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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