#2C082B#2C082B

#2C082B is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.7% C 0.078 H 329.0°. Best body text is #FFFFFF at 17.85:1 contrast (WCAG AA passes).

Color values

HEX#2C082B
RGBrgb(44, 8, 43)
HSLhsl(302, 69%, 10%)
HSVhsv(302, 82%, 17%)
CMYKcmyk(0%, 81.8%, 2.3%, 82.7%)
CIE-LABlab(7.98, 23.74, -14.52)
CIE-LCHlch(7.98, 27.83, 328.55°)
OKLaboklab(21.69% 0.0667 -0.0401)
OKLCHoklch(21.69% 0.078 329)
XYZxyz(1.5616, 0.8837, 2.3733)
Luminance0.0088 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C082B #082C09
analogous
#1B082C #2C082B #2C0819
triadic
#2C082B #2B2C08 #082B2C
tetradic
#2C082B #2C1B08 #082C09 #08192C
square
#2C082B #2C1B08 #082C09 #08192C
split-complementary
#2C082B #192C08 #082C1B
monochromatic
#1A0519 #1A0519 #2C082B #60115E #941B90

Accessibility & contrast

On white

17.85
#2C082B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C082B
17.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C082B#FFFFFF#000000##FFFFFF
##2C082B1.0017.851.1817.85
#FFFFFF17.851.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05142C
Deuteranopia (green-blind)
#12192A
Tritanopia (blue-blind)
#2E0D18
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2c082b;
/* rgb */ color: rgb(44, 8, 43);
/* oklch */ color: oklch(21.7% 0.078 329.0);
Tailwind
colors: {
  custom: {
    50: '#674b64',
    500: '#2c082b',
    950: '#000000',
  },
}
SCSS
$custom: #2c082b;
$custom-light: #674b64;
$custom-dark: #000000;
JSON
{
  "hex": "#2c082b",
  "rgb": {
    "r": 44,
    "g": 8,
    "b": 43
  },
  "hsl": {
    "h": 301.667,
    "s": 69.231,
    "l": 10.196
  },
  "oklch": {
    "l": 0.2169,
    "c": 0.07783,
    "h": 329
  },
  "luminance": 0.00884
}

Semantic roles & 50–950 ramp

primary
#2C082B
secondary
#256B27
accent
#EC413C
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060105
muted
#7A777A

Preview Lab

Preview with #2C082B

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

Preview Lab → · Contrast checker → · Palette generator →

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