#2C0831#2C0831

#2C0831 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.1% C 0.084 H 322.6°. Best body text is #FFFFFF at 17.70:1 contrast (WCAG AA passes).

Color values

HEX#2C0831
RGBrgb(44, 8, 49)
HSLhsl(293, 72%, 11%)
HSVhsv(293, 84%, 19%)
CMYKcmyk(10.2%, 83.7%, 0%, 80.8%)
CIE-LABlab(8.40, 25.06, -18.31)
CIE-LCHlch(8.40, 31.03, 323.85°)
OKLaboklab(22.13% 0.0668 -0.0511)
OKLCHoklch(22.13% 0.084 322.6)
XYZxyz(1.6799, 0.9310, 2.9963)
Luminance0.0093 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0831 #0D3108
analogous
#170831 #2C0831 #310821
triadic
#2C0831 #312C08 #08312C
tetradic
#2C0831 #311708 #0D3108 #082131
square
#2C0831 #311708 #0D3108 #082131
split-complementary
#2C0831 #213108 #083117
monochromatic
#18041A #18041A #2C0831 #5B1166 #8A199A

Accessibility & contrast

On white

17.70
#2C0831 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#2C0831 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0831
17.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0831#FFFFFF#000000##FFFFFF
##2C08311.0017.701.1917.70
#FFFFFF17.701.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001632
Deuteranopia (green-blind)
#0E1A30
Tritanopia (blue-blind)
#2D0F1B
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2c0831;
/* rgb */ color: rgb(44, 8, 49);
/* oklch */ color: oklch(22.1% 0.084 322.6);
Tailwind
colors: {
  custom: {
    50: '#674b69',
    500: '#2c0831',
    950: '#000000',
  },
}
SCSS
$custom: #2c0831;
$custom-light: #674b69;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0831",
  "rgb": {
    "r": 44,
    "g": 8,
    "b": 49
  },
  "hsl": {
    "h": 292.683,
    "s": 71.93,
    "l": 11.176
  },
  "oklch": {
    "l": 0.22128,
    "c": 0.08407,
    "h": 322.6
  },
  "luminance": 0.00931
}

Semantic roles & 50–950 ramp

primary
#2C0831
secondary
#2E7025
accent
#EF394F
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2C0831

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

Preview Lab → · Contrast checker → · Palette generator →

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