#2C042D#2C042D

#2C042D is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.3% C 0.087 H 327.1°. Best body text is #FFFFFF at 18.07:1 contrast (WCAG AA passes).

Color values

HEX#2C042D
RGBrgb(44, 4, 45)
HSLhsl(299, 84%, 10%)
HSVhsv(299, 91%, 18%)
CMYKcmyk(2.2%, 91.1%, 0%, 82.4%)
CIE-LABlab(7.33, 26.38, -17.04)
CIE-LCHlch(7.33, 31.40, 327.13°)
OKLaboklab(21.26% 0.0732 -0.0474)
OKLCHoklch(21.26% 0.087 327.1)
XYZxyz(1.5558, 0.8119, 2.5569)
Luminance0.0081 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C042D #052D04
analogous
#18042D #2C042D #2D041A
triadic
#2C042D #2D2C04 #042D2C
tetradic
#2C042D #2D1804 #052D04 #041A2D
square
#2C042D #2D1804 #052D04 #041A2D
split-complementary
#2C042D #1A2D04 #042D18
monochromatic
#1B021C #1B021C #2C042D #630965 #9A0E9D

Accessibility & contrast

On white

18.07
#2C042D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C042D
18.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C042D#FFFFFF#000000##FFFFFF
##2C042D1.0018.071.1618.07
#FFFFFF18.071.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00132E
Deuteranopia (green-blind)
#0E182C
Tritanopia (blue-blind)
#2E0A18
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2c042d;
/* rgb */ color: rgb(44, 4, 45);
/* oklch */ color: oklch(21.3% 0.087 327.1);
Tailwind
colors: {
  custom: {
    50: '#674966',
    500: '#2c042d',
    950: '#000000',
  },
}
SCSS
$custom: #2c042d;
$custom-light: #674966;
$custom-dark: #000000;
JSON
{
  "hex": "#2c042d",
  "rgb": {
    "r": 44,
    "g": 4,
    "b": 45
  },
  "hsl": {
    "h": 298.537,
    "s": 83.673,
    "l": 9.608
  },
  "oklch": {
    "l": 0.21257,
    "c": 0.08727,
    "h": 327.1
  },
  "luminance": 0.00812
}

Semantic roles & 50–950 ramp

primary
#2C042D
secondary
#1F701D
accent
#FA2E33
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2C042D

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

Preview Lab → · Contrast checker → · Palette generator →

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