#2C0A2C#2C0A2C

#2C0A2C is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.0% C 0.075 H 327.8°. Best body text is #FFFFFF at 17.69:1 contrast (WCAG AA passes).

Color values

HEX#2C0A2C
RGBrgb(44, 10, 44)
HSLhsl(300, 63%, 11%)
HSVhsv(300, 77%, 17%)
CMYKcmyk(0%, 77.3%, 0%, 82.7%)
CIE-LABlab(8.43, 22.88, -14.55)
CIE-LCHlch(8.43, 27.11, 327.53°)
OKLaboklab(22.04% 0.0637 -0.0402)
OKLCHoklch(22.04% 0.075 327.8)
XYZxyz(1.6018, 0.9345, 2.4784)
Luminance0.0093 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0A2C #0A2C0A
analogous
#1B0A2C #2C0A2C #2C0A1B
triadic
#2C0A2C #2C2C0A #0A2C2C
tetradic
#2C0A2C #2C1B0A #0A2C0A #0A1B2C
square
#2C0A2C #2C1B0A #0A2C0A #0A1B2C
split-complementary
#2C0A2C #1B2C0A #0A2C1B
monochromatic
#190619 #190619 #2C0A2C #5E155E #902190

Accessibility & contrast

On white

17.69
#2C0A2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#2C0A2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0A2C
17.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0A2C#FFFFFF#000000##FFFFFF
##2C0A2C1.0017.691.1917.69
#FFFFFF17.691.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06162D
Deuteranopia (green-blind)
#121A2B
Tritanopia (blue-blind)
#2E0E19
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2c0a2c;
/* rgb */ color: rgb(44, 10, 44);
/* oklch */ color: oklch(22.0% 0.075 327.8);
Tailwind
colors: {
  custom: {
    50: '#674c65',
    500: '#2c0a2c',
    950: '#000000',
  },
}
SCSS
$custom: #2c0a2c;
$custom-light: #674c65;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0a2c",
  "rgb": {
    "r": 44,
    "g": 10,
    "b": 44
  },
  "hsl": {
    "h": 300,
    "s": 62.963,
    "l": 10.588
  },
  "oklch": {
    "l": 0.22038,
    "c": 0.07535,
    "h": 327.8
  },
  "luminance": 0.00934
}

Semantic roles & 50–950 ramp

primary
#2C0A2C
secondary
#296929
accent
#E64242
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060105
muted
#7A777A

Preview Lab

Preview with #2C0A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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