#2C0A2A#2C0A2A

#2C0A2A is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.9% C 0.073 H 330.1°. Best body text is #FFFFFF at 17.74:1 contrast (WCAG AA passes).

Color values

HEX#2C0A2A
RGBrgb(44, 10, 42)
HSLhsl(304, 63%, 11%)
HSVhsv(304, 77%, 17%)
CMYKcmyk(0%, 77.3%, 4.5%, 82.7%)
CIE-LABlab(8.30, 22.45, -13.26)
CIE-LCHlch(8.30, 26.07, 329.42°)
OKLaboklab(21.9% 0.0635 -0.0365)
OKLCHoklch(21.9% 0.073 330.1)
XYZxyz(1.5652, 0.9198, 2.2851)
Luminance0.0092 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0A2A #0A2C0C
analogous
#1D0A2C #2C0A2A #2C0A19
triadic
#2C0A2A #2A2C0A #0A2A2C
tetradic
#2C0A2A #2C1D0A #0A2C0C #0A192C
square
#2C0A2A #2C1D0A #0A2C0C #0A192C
split-complementary
#2C0A2A #192C0A #0A2C1D
monochromatic
#190618 #190618 #2C0A2A #5E155A #902189

Accessibility & contrast

On white

17.74
#2C0A2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#2C0A2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0A2A
17.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0A2A#FFFFFF#000000##FFFFFF
##2C0A2A1.0017.741.1817.74
#FFFFFF17.741.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08152B
Deuteranopia (green-blind)
#131A29
Tritanopia (blue-blind)
#2E0E18
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2c0a2a;
/* rgb */ color: rgb(44, 10, 42);
/* oklch */ color: oklch(21.9% 0.073 330.1);
Tailwind
colors: {
  custom: {
    50: '#674c63',
    500: '#2c0a2a',
    950: '#000000',
  },
}
SCSS
$custom: #2c0a2a;
$custom-light: #674c63;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0a2a",
  "rgb": {
    "r": 44,
    "g": 10,
    "b": 42
  },
  "hsl": {
    "h": 303.529,
    "s": 62.963,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21903,
    "c": 0.07326,
    "h": 330.1
  },
  "luminance": 0.0092
}

Semantic roles & 50–950 ramp

primary
#2C0A2A
secondary
#29692D
accent
#E64B42
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060105
muted
#7A7779

Preview Lab

Preview with #2C0A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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