#2C0D2B#2C0D2B

#2C0D2B is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.4% C 0.069 H 328.8°. Best body text is #FFFFFF at 17.51:1 contrast (WCAG AA passes).

Color values

HEX#2C0D2B
RGBrgb(44, 13, 43)
HSLhsl(302, 54%, 11%)
HSVhsv(302, 70%, 17%)
CMYKcmyk(0%, 70.5%, 2.3%, 82.7%)
CIE-LABlab(8.97, 21.00, -12.96)
CIE-LCHlch(8.97, 24.68, 328.32°)
OKLaboklab(22.41% 0.0589 -0.0356)
OKLCHoklch(22.41% 0.069 328.8)
XYZxyz(1.6187, 0.9978, 2.3924)
Luminance0.0100 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0D2B #0D2C0E
analogous
#1D0D2C #2C0D2B #2C0D1B
triadic
#2C0D2B #2B2C0D #0D2B2C
tetradic
#2C0D2B #2C1D0D #0D2C0E #0D1B2C
square
#2C0D2B #2C1D0D #0D2C0E #0D1B2C
split-complementary
#2C0D2B #1B2C0D #0D2C1D
monochromatic
#180717 #180717 #2C0D2B #5B1B59 #8A2987

Accessibility & contrast

On white

17.51
#2C0D2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0D2B
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0D2B#FFFFFF#000000##FFFFFF
##2C0D2B1.0017.511.2017.51
#FFFFFF17.511.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A172C
Deuteranopia (green-blind)
#141B2A
Tritanopia (blue-blind)
#2E101A
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2c0d2b;
/* rgb */ color: rgb(44, 13, 43);
/* oklch */ color: oklch(22.4% 0.069 328.8);
Tailwind
colors: {
  custom: {
    50: '#664e64',
    500: '#2c0d2b',
    950: '#000000',
  },
}
SCSS
$custom: #2c0d2b;
$custom-light: #664e64;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0d2b",
  "rgb": {
    "r": 44,
    "g": 13,
    "b": 43
  },
  "hsl": {
    "h": 301.935,
    "s": 54.386,
    "l": 11.176
  },
  "oklch": {
    "l": 0.2241,
    "c": 0.06886,
    "h": 328.8
  },
  "luminance": 0.00998
}

Semantic roles & 50–950 ramp

primary
#2C0D2B
secondary
#2E6730
accent
#DE4F4A
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060105
muted
#7A777A

Preview Lab

Preview with #2C0D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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