#2C0D2E#2C0D2E

#2C0D2E is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.6% C 0.072 H 325.2°. Best body text is #FFFFFF at 17.44:1 contrast (WCAG AA passes).

Color values

HEX#2C0D2E
RGBrgb(44, 13, 46)
HSLhsl(296, 56%, 12%)
HSVhsv(296, 72%, 18%)
CMYKcmyk(4.3%, 71.7%, 0%, 82%)
CIE-LABlab(9.16, 21.67, -14.89)
CIE-LCHlch(9.16, 26.29, 325.52°)
OKLaboklab(22.61% 0.0593 -0.0412)
OKLCHoklch(22.61% 0.072 325.2)
XYZxyz(1.6757, 1.0207, 2.6930)
Luminance0.0102 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0D2E #0F2E0D
analogous
#1C0D2E #2C0D2E #2E0D20
triadic
#2C0D2E #2E2C0D #0D2E2C
tetradic
#2C0D2E #2E1C0D #0F2E0D #0D202E
square
#2C0D2E #2E1C0D #0F2E0D #0D202E
split-complementary
#2C0D2E #202E0D #0D2E1C
monochromatic
#170718 #170718 #2C0D2E #5A1A5E #87288D

Accessibility & contrast

On white

17.44
#2C0D2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0D2E
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0D2E#FFFFFF#000000##FFFFFF
##2C0D2E1.0017.441.2017.44
#FFFFFF17.441.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08172F
Deuteranopia (green-blind)
#131B2D
Tritanopia (blue-blind)
#2D111B
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2c0d2e;
/* rgb */ color: rgb(44, 13, 46);
/* oklch */ color: oklch(22.6% 0.072 325.2);
Tailwind
colors: {
  custom: {
    50: '#664e67',
    500: '#2c0d2e',
    950: '#000000',
  },
}
SCSS
$custom: #2c0d2e;
$custom-light: #664e67;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0d2e",
  "rgb": {
    "r": 44,
    "g": 13,
    "b": 46
  },
  "hsl": {
    "h": 296.364,
    "s": 55.932,
    "l": 11.569
  },
  "oklch": {
    "l": 0.2261,
    "c": 0.07219,
    "h": 325.2
  },
  "luminance": 0.01021
}

Semantic roles & 50–950 ramp

primary
#2C0D2E
secondary
#31692E
accent
#DF4952
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2C0D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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