#2C0F2C#2C0F2C

#2C0F2C is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 22.8% C 0.066 H 327.5°. Best body text is #FFFFFF at 17.33:1 contrast (WCAG AA passes).

Color values

HEX#2C0F2C
RGBrgb(44, 15, 44)
HSLhsl(300, 49%, 12%)
HSVhsv(300, 66%, 17%)
CMYKcmyk(0%, 65.9%, 0%, 82.7%)
CIE-LABlab(9.47, 20.03, -12.92)
CIE-LCHlch(9.47, 23.83, 327.18°)
OKLaboklab(22.8% 0.0557 -0.0355)
OKLCHoklch(22.8% 0.066 327.5)
XYZxyz(1.6641, 1.0591, 2.4992)
Luminance0.0106 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0F2C #0F2C0F
analogous
#1E0F2C #2C0F2C #2C0F1E
triadic
#2C0F2C #2C2C0F #0F2C2C
tetradic
#2C0F2C #2C1E0F #0F2C0F #0F1E2C
square
#2C0F2C #2C1E0F #0F2C0F #0F1E2C
split-complementary
#2C0F2C #1E2C0F #0F2C1E
monochromatic
#170817 #170817 #2C0F2C #5A1F5A #872E87

Accessibility & contrast

On white

17.33
#2C0F2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0F2C
17.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0F2C#FFFFFF#000000##FFFFFF
##2C0F2C1.0017.331.2117.33
#FFFFFF17.331.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C182D
Deuteranopia (green-blind)
#151C2B
Tritanopia (blue-blind)
#2D121B
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2c0f2c;
/* rgb */ color: rgb(44, 15, 44);
/* oklch */ color: oklch(22.8% 0.066 327.5);
Tailwind
colors: {
  custom: {
    50: '#664f65',
    500: '#2c0f2c',
    950: '#000000',
  },
}
SCSS
$custom: #2c0f2c;
$custom-light: #664f65;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0f2c",
  "rgb": {
    "r": 44,
    "g": 15,
    "b": 44
  },
  "hsl": {
    "h": 300,
    "s": 49.153,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22797,
    "c": 0.06608,
    "h": 327.5
  },
  "luminance": 0.01059
}

Semantic roles & 50–950 ramp

primary
#2C0F2C
secondary
#316531
accent
#D94F4F
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060205
muted
#7A787A

Preview Lab

Preview with #2C0F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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