#2C042B#2C042B

#2C042B is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.1% C 0.085 H 329.2°. Best body text is #FFFFFF at 18.11:1 contrast (WCAG AA passes).

Color values

HEX#2C042B
RGBrgb(44, 4, 43)
HSLhsl(302, 83%, 9%)
HSVhsv(302, 91%, 17%)
CMYKcmyk(0%, 90.9%, 2.3%, 82.7%)
CIE-LABlab(7.20, 25.93, -15.76)
CIE-LCHlch(7.20, 30.35, 328.71°)
OKLaboklab(21.11% 0.0733 -0.0438)
OKLCHoklch(21.11% 0.085 329.2)
XYZxyz(1.5182, 0.7968, 2.3589)
Luminance0.0080 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C042B #042C05
analogous
#19042C #2C042B #2C0417
triadic
#2C042B #2B2C04 #042B2C
tetradic
#2C042B #2C1904 #042C05 #04172C
square
#2C042B #2C1904 #042C05 #04172C
split-complementary
#2C042B #172C04 #042C19
monochromatic
#1C031B #1C031B #2C042B #640962 #9C0E99

Accessibility & contrast

On white

18.11
#2C042B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C042B
18.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C042B#FFFFFF#000000##FFFFFF
##2C042B1.0018.111.1618.11
#FFFFFF18.111.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01122C
Deuteranopia (green-blind)
#0F182A
Tritanopia (blue-blind)
#2E0917
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2c042b;
/* rgb */ color: rgb(44, 4, 43);
/* oklch */ color: oklch(21.1% 0.085 329.2);
Tailwind
colors: {
  custom: {
    50: '#674964',
    500: '#2c042b',
    950: '#000000',
  },
}
SCSS
$custom: #2c042b;
$custom-light: #674964;
$custom-dark: #000000;
JSON
{
  "hex": "#2c042b",
  "rgb": {
    "r": 44,
    "g": 4,
    "b": 43
  },
  "hsl": {
    "h": 301.5,
    "s": 83.333,
    "l": 9.412
  },
  "oklch": {
    "l": 0.21107,
    "c": 0.08539,
    "h": 329.2
  },
  "luminance": 0.00797
}

Semantic roles & 50–950 ramp

primary
#2C042B
secondary
#1D6F1F
accent
#FA332E
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060105
muted
#7A777A

Preview Lab

Preview with #2C042B

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

Preview Lab → · Contrast checker → · Palette generator →

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