#2C0F2E#2C0F2E

#2C0F2E is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 22.9% C 0.068 H 325.0°. Best body text is #FFFFFF at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#2C0F2E
RGBrgb(44, 15, 46)
HSLhsl(296, 51%, 12%)
HSVhsv(296, 67%, 18%)
CMYKcmyk(4.3%, 67.4%, 0%, 82%)
CIE-LABlab(9.60, 20.49, -14.20)
CIE-LCHlch(9.60, 24.93, 325.28°)
OKLaboklab(22.93% 0.056 -0.0392)
OKLCHoklch(22.93% 0.068 325)
XYZxyz(1.7026, 1.0745, 2.7019)
Luminance0.0107 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0F2E #112E0F
analogous
#1D0F2E #2C0F2E #2E0F21
triadic
#2C0F2E #2E2C0F #0F2E2C
tetradic
#2C0F2E #2E1D0F #112E0F #0F212E
square
#2C0F2E #2E1D0F #112E0F #0F212E
split-complementary
#2C0F2E #212E0F #0F2E1D
monochromatic
#160817 #160817 #2C0F2E #581E5C #842D8A

Accessibility & contrast

On white

17.29
#2C0F2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2C0F2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0F2E
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0F2E#FFFFFF#000000##FFFFFF
##2C0F2E1.0017.291.2117.29
#FFFFFF17.291.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B182F
Deuteranopia (green-blind)
#141C2D
Tritanopia (blue-blind)
#2D131C
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2c0f2e;
/* rgb */ color: rgb(44, 15, 46);
/* oklch */ color: oklch(22.9% 0.068 325.0);
Tailwind
colors: {
  custom: {
    50: '#664f67',
    500: '#2c0f2e',
    950: '#000000',
  },
}
SCSS
$custom: #2c0f2e;
$custom-light: #664f67;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0f2e",
  "rgb": {
    "r": 44,
    "g": 15,
    "b": 46
  },
  "hsl": {
    "h": 296.129,
    "s": 50.82,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22928,
    "c": 0.06838,
    "h": 325
  },
  "luminance": 0.01074
}

Semantic roles & 50–950 ramp

primary
#2C0F2E
secondary
#356831
accent
#DA4D57
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2C0F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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