#2C0F28#2C0F28

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

Color values

HEX#2C0F28
RGBrgb(44, 15, 40)
HSLhsl(308, 49%, 12%)
HSVhsv(308, 66%, 17%)
CMYKcmyk(0%, 65.9%, 9.1%, 82.7%)
CIE-LABlab(9.24, 19.14, -10.30)
CIE-LCHlch(9.24, 21.74, 331.71°)
OKLaboklab(22.55% 0.0549 -0.028)
OKLCHoklch(22.55% 0.062 332.9)
XYZxyz(1.5925, 1.0304, 2.1221)
Luminance0.0103 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0F28 #0F2C13
analogous
#220F2C #2C0F28 #2C0F1A
triadic
#2C0F28 #282C0F #0F282C
tetradic
#2C0F28 #2C220F #0F2C13 #0F1A2C
square
#2C0F28 #2C220F #0F2C13 #0F1A2C
split-complementary
#2C0F28 #1A2C0F #0F2C22
monochromatic
#170815 #170815 #2C0F28 #5A1F51 #872E7B

Accessibility & contrast

On white

17.41
#2C0F28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0F28
17.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0F28#FFFFFF#000000##FFFFFF
##2C0F281.0017.411.2117.41
#FFFFFF17.411.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1729
Deuteranopia (green-blind)
#171B27
Tritanopia (blue-blind)
#2E1119
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2c0f28;
/* rgb */ color: rgb(44, 15, 40);
/* oklch */ color: oklch(22.6% 0.062 332.9);
Tailwind
colors: {
  custom: {
    50: '#664f62',
    500: '#2c0f28',
    950: '#000000',
  },
}
SCSS
$custom: #2c0f28;
$custom-light: #664f62;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0f28",
  "rgb": {
    "r": 44,
    "g": 15,
    "b": 40
  },
  "hsl": {
    "h": 308.276,
    "s": 49.153,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22551,
    "c": 0.06166,
    "h": 332.9
  },
  "luminance": 0.0103
}

Semantic roles & 50–950 ramp

primary
#2C0F28
secondary
#316539
accent
#D9624F
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060205
muted
#7A7879

Preview Lab

Preview with #2C0F28

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

Preview Lab → · Contrast checker → · Palette generator →

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