#2C042F#2C042F

#2C042F is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.4% C 0.089 H 325.0°. Best body text is #FFFFFF at 18.02:1 contrast (WCAG AA passes).

Color values

HEX#2C042F
RGBrgb(44, 4, 47)
HSLhsl(296, 84%, 10%)
HSVhsv(296, 91%, 18%)
CMYKcmyk(6.4%, 91.5%, 0%, 81.6%)
CIE-LABlab(7.48, 26.83, -18.31)
CIE-LCHlch(7.48, 32.48, 325.69°)
OKLaboklab(21.41% 0.0731 -0.0511)
OKLCHoklch(21.41% 0.089 325)
XYZxyz(1.5952, 0.8276, 2.7645)
Luminance0.0083 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C042F #072F04
analogous
#17042F #2C042F #2F041C
triadic
#2C042F #2F2C04 #042F2C
tetradic
#2C042F #2F1704 #072F04 #041C2F
square
#2C042F #2F1704 #072F04 #041C2F
split-complementary
#2C042F #1C2F04 #042F17
monochromatic
#1A021C #1A021C #2C042F #610967 #960EA0

Accessibility & contrast

On white

18.02
#2C042F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#2C042F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C042F
18.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C042F#FFFFFF#000000##FFFFFF
##2C042F1.0018.021.1718.02
#FFFFFF18.021.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001330
Deuteranopia (green-blind)
#0C182E
Tritanopia (blue-blind)
#2D0B19
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2c042f;
/* rgb */ color: rgb(44, 4, 47);
/* oklch */ color: oklch(21.4% 0.089 325.0);
Tailwind
colors: {
  custom: {
    50: '#674968',
    500: '#2c042f',
    950: '#000000',
  },
}
SCSS
$custom: #2c042f;
$custom-light: #674968;
$custom-dark: #000000;
JSON
{
  "hex": "#2c042f",
  "rgb": {
    "r": 44,
    "g": 4,
    "b": 47
  },
  "hsl": {
    "h": 295.814,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.21412,
    "c": 0.08918,
    "h": 325
  },
  "luminance": 0.00828
}

Semantic roles & 50–950 ramp

primary
#2C042F
secondary
#23721D
accent
#FB2D3C
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2C042F

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

Preview Lab → · Contrast checker → · Palette generator →

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