#2C0836#2C0836

#2C0836 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.5% C 0.089 H 317.9°. Best body text is #FFFFFF at 17.57:1 contrast (WCAG AA passes).

Color values

HEX#2C0836
RGBrgb(44, 8, 54)
HSLhsl(287, 74%, 12%)
HSVhsv(287, 85%, 21%)
CMYKcmyk(18.5%, 85.2%, 0%, 78.8%)
CIE-LABlab(8.79, 26.22, -21.36)
CIE-LCHlch(8.79, 33.82, 320.84°)
OKLaboklab(22.53% 0.0664 -0.06)
OKLCHoklch(22.53% 0.089 317.9)
XYZxyz(1.7913, 0.9756, 3.5833)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0836 #123608
analogous
#150836 #2C0836 #360829
triadic
#2C0836 #362C08 #08362C
tetradic
#2C0836 #361508 #123608 #082936
square
#2C0836 #361508 #123608 #082936
split-complementary
#2C0836 #293608 #083615
monochromatic
#16041B #16041B #2C0836 #57106B #8318A1

Accessibility & contrast

On white

17.57
#2C0836 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#2C0836 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0836
17.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0836#FFFFFF#000000##FFFFFF
##2C08361.0017.571.2017.57
#FFFFFF17.571.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001737
Deuteranopia (green-blind)
#0A1A35
Tritanopia (blue-blind)
#2C111E
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2c0836;
/* rgb */ color: rgb(44, 8, 54);
/* oklch */ color: oklch(22.5% 0.089 317.9);
Tailwind
colors: {
  custom: {
    50: '#674b6d',
    500: '#2c0836',
    950: '#000000',
  },
}
SCSS
$custom: #2c0836;
$custom-light: #674b6d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0836",
  "rgb": {
    "r": 44,
    "g": 8,
    "b": 54
  },
  "hsl": {
    "h": 286.957,
    "s": 74.194,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22525,
    "c": 0.08947,
    "h": 317.9
  },
  "luminance": 0.00975
}

Semantic roles & 50–950 ramp

primary
#2C0836
secondary
#367525
accent
#F1375F
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2C0836

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

Preview Lab → · Contrast checker → · Palette generator →

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