#2C082A#2C082A

#2C082A is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.6% C 0.077 H 330.2°. Best body text is #FFFFFF at 17.87:1 contrast (WCAG AA passes).

Color values

HEX#2C082A
RGBrgb(44, 8, 42)
HSLhsl(303, 69%, 10%)
HSVhsv(303, 82%, 17%)
CMYKcmyk(0%, 81.8%, 4.5%, 82.7%)
CIE-LABlab(7.92, 23.53, -13.87)
CIE-LCHlch(7.92, 27.31, 329.47°)
OKLaboklab(21.62% 0.0667 -0.0382)
OKLCHoklch(21.62% 0.077 330.2)
XYZxyz(1.5434, 0.8764, 2.2779)
Luminance0.0088 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C082A #082C0A
analogous
#1C082C #2C082A #2C0818
triadic
#2C082A #2A2C08 #082A2C
tetradic
#2C082A #2C1C08 #082C0A #08182C
square
#2C082A #2C1C08 #082C0A #08182C
split-complementary
#2C082A #182C08 #082C1C
monochromatic
#1A0519 #1A0519 #2C082A #60115B #941B8D

Accessibility & contrast

On white

17.87
#2C082A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C082A
17.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C082A#FFFFFF#000000##FFFFFF
##2C082A1.0017.871.1817.87
#FFFFFF17.871.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05142B
Deuteranopia (green-blind)
#121929
Tritanopia (blue-blind)
#2E0C17
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2c082a;
/* rgb */ color: rgb(44, 8, 42);
/* oklch */ color: oklch(21.6% 0.077 330.2);
Tailwind
colors: {
  custom: {
    50: '#674b63',
    500: '#2c082a',
    950: '#000000',
  },
}
SCSS
$custom: #2c082a;
$custom-light: #674b63;
$custom-dark: #000000;
JSON
{
  "hex": "#2c082a",
  "rgb": {
    "r": 44,
    "g": 8,
    "b": 42
  },
  "hsl": {
    "h": 303.333,
    "s": 69.231,
    "l": 10.196
  },
  "oklch": {
    "l": 0.21621,
    "c": 0.07683,
    "h": 330.2
  },
  "luminance": 0.00876
}

Semantic roles & 50–950 ramp

primary
#2C082A
secondary
#256B29
accent
#EC463C
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060105
muted
#7A7779

Preview Lab

Preview with #2C082A

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

Preview Lab → · Contrast checker → · Palette generator →

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