#2C042C#2C042C

#2C042C is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.2% C 0.086 H 328.1°. Best body text is #FFFFFF at 18.09:1 contrast (WCAG AA passes).

Color values

HEX#2C042C
RGBrgb(44, 4, 44)
HSLhsl(300, 83%, 9%)
HSVhsv(300, 91%, 17%)
CMYKcmyk(0%, 90.9%, 0%, 82.7%)
CIE-LABlab(7.27, 26.15, -16.40)
CIE-LCHlch(7.27, 30.87, 327.90°)
OKLaboklab(21.18% 0.0733 -0.0456)
OKLCHoklch(21.18% 0.086 328.1)
XYZxyz(1.5367, 0.8043, 2.4567)
Luminance0.0080 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C042C #042C04
analogous
#18042C #2C042C #2C0418
triadic
#2C042C #2C2C04 #042C2C
tetradic
#2C042C #2C1804 #042C04 #04182C
square
#2C042C #2C1804 #042C04 #04182C
split-complementary
#2C042C #182C04 #042C18
monochromatic
#1C031C #1C031C #2C042C #640964 #9C0E9C

Accessibility & contrast

On white

18.09
#2C042C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#2C042C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C042C
18.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C042C#FFFFFF#000000##FFFFFF
##2C042C1.0018.091.1618.09
#FFFFFF18.091.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00132D
Deuteranopia (green-blind)
#0E182B
Tritanopia (blue-blind)
#2E0917
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2c042c;
/* rgb */ color: rgb(44, 4, 44);
/* oklch */ color: oklch(21.2% 0.086 328.1);
Tailwind
colors: {
  custom: {
    50: '#674965',
    500: '#2c042c',
    950: '#000000',
  },
}
SCSS
$custom: #2c042c;
$custom-light: #674965;
$custom-dark: #000000;
JSON
{
  "hex": "#2c042c",
  "rgb": {
    "r": 44,
    "g": 4,
    "b": 44
  },
  "hsl": {
    "h": 300,
    "s": 83.333,
    "l": 9.412
  },
  "oklch": {
    "l": 0.21182,
    "c": 0.08632,
    "h": 328.1
  },
  "luminance": 0.00804
}

Semantic roles & 50–950 ramp

primary
#2C042C
secondary
#1D6F1D
accent
#FA2E2E
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060105
muted
#7A777A

Preview Lab

Preview with #2C042C

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

Preview Lab → · Contrast checker → · Palette generator →

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