#2C0C2F#2C0C2F

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

Color values

HEX#2C0C2F
RGBrgb(44, 12, 47)
HSLhsl(295, 59%, 12%)
HSVhsv(295, 74%, 18%)
CMYKcmyk(6.4%, 74.5%, 0%, 81.6%)
CIE-LABlab(9.02, 22.47, -15.85)
CIE-LCHlch(9.02, 27.50, 324.81°)
OKLaboklab(22.53% 0.0609 -0.044)
OKLCHoklch(22.53% 0.075 324.2)
XYZxyz(1.6832, 1.0037, 2.7939)
Luminance0.0100 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0C2F #0F2F0C
analogous
#1B0C2F #2C0C2F #2F0C21
triadic
#2C0C2F #2F2C0C #0C2F2C
tetradic
#2C0C2F #2F1B0C #0F2F0C #0C212F
square
#2C0C2F #2F1B0C #0F2F0C #0C212F
split-complementary
#2C0C2F #212F0C #0C2F1B
monochromatic
#170618 #170618 #2C0C2F #5A1860 #872591

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C0C2F#FFFFFF#000000##FFFFFF
##2C0C2F1.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)
#061730
Deuteranopia (green-blind)
#121B2E
Tritanopia (blue-blind)
#2D111C
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2c0c2f;
/* rgb */ color: rgb(44, 12, 47);
/* oklch */ color: oklch(22.5% 0.075 324.2);
Tailwind
colors: {
  custom: {
    50: '#674d67',
    500: '#2c0c2f',
    950: '#000000',
  },
}
SCSS
$custom: #2c0c2f;
$custom-light: #674d67;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0c2f",
  "rgb": {
    "r": 44,
    "g": 12,
    "b": 47
  },
  "hsl": {
    "h": 294.857,
    "s": 59.322,
    "l": 11.569
  },
  "oklch": {
    "l": 0.2253,
    "c": 0.07513,
    "h": 324.2
  },
  "luminance": 0.01004
}

Semantic roles & 50–950 ramp

primary
#2C0C2F
secondary
#316B2C
accent
#E34553
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2C0C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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