#2C0B2A#2C0B2A

#2C0B2A is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.0% C 0.071 H 330.1°. Best body text is #FFFFFF at 17.67:1 contrast (WCAG AA passes).

Color values

HEX#2C0B2A
RGBrgb(44, 11, 42)
HSLhsl(304, 60%, 11%)
HSVhsv(304, 75%, 17%)
CMYKcmyk(0%, 75%, 4.5%, 82.7%)
CIE-LABlab(8.50, 21.91, -12.96)
CIE-LCHlch(8.50, 25.45, 329.40°)
OKLaboklab(22.04% 0.062 -0.0356)
OKLCHoklch(22.04% 0.071 330.1)
XYZxyz(1.5763, 0.9421, 2.2889)
Luminance0.0094 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0B2A #0B2C0D
analogous
#1D0B2C #2C0B2A #2C0B19
triadic
#2C0B2A #2A2C0B #0B2A2C
tetradic
#2C0B2A #2C1D0B #0B2C0D #0B192C
square
#2C0B2A #2C1D0B #0B2C0D #0B192C
split-complementary
#2C0B2A #192C0B #0B2C1D
monochromatic
#180617 #180617 #2C0B2A #5D1759 #8E2387

Accessibility & contrast

On white

17.67
#2C0B2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0B2A
17.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0B2A#FFFFFF#000000##FFFFFF
##2C0B2A1.0017.671.1917.67
#FFFFFF17.671.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09162B
Deuteranopia (green-blind)
#141A29
Tritanopia (blue-blind)
#2E0E19
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2c0b2a;
/* rgb */ color: rgb(44, 11, 42);
/* oklch */ color: oklch(22.0% 0.071 330.1);
Tailwind
colors: {
  custom: {
    50: '#674c63',
    500: '#2c0b2a',
    950: '#000000',
  },
}
SCSS
$custom: #2c0b2a;
$custom-light: #674c63;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0b2a",
  "rgb": {
    "r": 44,
    "g": 11,
    "b": 42
  },
  "hsl": {
    "h": 303.636,
    "s": 60,
    "l": 10.784
  },
  "oklch": {
    "l": 0.22044,
    "c": 0.07149,
    "h": 330.1
  },
  "luminance": 0.00942
}

Semantic roles & 50–950 ramp

primary
#2C0B2A
secondary
#2B682E
accent
#E34E45
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060105
muted
#7A7779

Preview Lab

Preview with #2C0B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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