#2C082D#2C082D

#2C082D is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.8% C 0.080 H 326.8°. Best body text is #FFFFFF at 17.80:1 contrast (WCAG AA passes).

Color values

HEX#2C082D
RGBrgb(44, 8, 45)
HSLhsl(298, 70%, 10%)
HSVhsv(298, 82%, 18%)
CMYKcmyk(2.2%, 82.2%, 0%, 82.4%)
CIE-LABlab(8.12, 24.17, -15.80)
CIE-LCHlch(8.12, 28.87, 326.83°)
OKLaboklab(21.83% 0.0668 -0.0438)
OKLCHoklch(21.83% 0.08 326.8)
XYZxyz(1.5992, 0.8987, 2.5714)
Luminance0.0090 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C082D #092D08
analogous
#19082D #2C082D #2D081B
triadic
#2C082D #2D2C08 #082D2C
tetradic
#2C082D #2D1908 #092D08 #081B2D
square
#2C082D #2D1908 #092D08 #081B2D
split-complementary
#2C082D #1B2D08 #082D19
monochromatic
#19051A #19051A #2C082D #5F1161 #921A95

Accessibility & contrast

On white

17.80
#2C082D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#2C082D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C082D
17.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C082D#FFFFFF#000000##FFFFFF
##2C082D1.0017.801.1817.80
#FFFFFF17.801.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03152E
Deuteranopia (green-blind)
#10192C
Tritanopia (blue-blind)
#2D0D19
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2c082d;
/* rgb */ color: rgb(44, 8, 45);
/* oklch */ color: oklch(21.8% 0.080 326.8);
Tailwind
colors: {
  custom: {
    50: '#674b66',
    500: '#2c082d',
    950: '#000000',
  },
}
SCSS
$custom: #2c082d;
$custom-light: #674b66;
$custom-dark: #000000;
JSON
{
  "hex": "#2c082d",
  "rgb": {
    "r": 44,
    "g": 8,
    "b": 45
  },
  "hsl": {
    "h": 298.378,
    "s": 69.811,
    "l": 10.392
  },
  "oklch": {
    "l": 0.21831,
    "c": 0.07988,
    "h": 326.8
  },
  "luminance": 0.00899
}

Semantic roles & 50–950 ramp

primary
#2C082D
secondary
#276C25
accent
#ED3B40
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2C082D

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

Preview Lab → · Contrast checker → · Palette generator →

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