#2C0832#2C0832

#2C0832 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.2% C 0.085 H 321.6°. Best body text is #FFFFFF at 17.68:1 contrast (WCAG AA passes).

Color values

HEX#2C0832
RGBrgb(44, 8, 50)
HSLhsl(291, 72%, 11%)
HSVhsv(291, 84%, 20%)
CMYKcmyk(12%, 84%, 0%, 80.4%)
CIE-LABlab(8.48, 25.29, -18.93)
CIE-LCHlch(8.48, 31.58, 323.19°)
OKLaboklab(22.21% 0.0667 -0.0529)
OKLCHoklch(22.21% 0.085 321.6)
XYZxyz(1.7012, 0.9395, 3.1087)
Luminance0.0094 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0832 #0E3208
analogous
#170832 #2C0832 #320823
triadic
#2C0832 #322C08 #08322C
tetradic
#2C0832 #321708 #0E3208 #082332
square
#2C0832 #321708 #0E3208 #082332
split-complementary
#2C0832 #233208 #083217
monochromatic
#17041A #17041A #2C0832 #5A1067 #89199C

Accessibility & contrast

On white

17.68
#2C0832 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0832
17.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0832#FFFFFF#000000##FFFFFF
##2C08321.0017.681.1917.68
#FFFFFF17.681.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001633
Deuteranopia (green-blind)
#0D1A31
Tritanopia (blue-blind)
#2D101C
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2c0832;
/* rgb */ color: rgb(44, 8, 50);
/* oklch */ color: oklch(22.2% 0.085 321.6);
Tailwind
colors: {
  custom: {
    50: '#674b6a',
    500: '#2c0832',
    950: '#000000',
  },
}
SCSS
$custom: #2c0832;
$custom-light: #674b6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0832",
  "rgb": {
    "r": 44,
    "g": 8,
    "b": 50
  },
  "hsl": {
    "h": 291.429,
    "s": 72.414,
    "l": 11.373
  },
  "oklch": {
    "l": 0.22205,
    "c": 0.08514,
    "h": 321.6
  },
  "luminance": 0.00939
}

Semantic roles & 50–950 ramp

primary
#2C0832
secondary
#307125
accent
#EF3953
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2C0832

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

Preview Lab → · Contrast checker → · Palette generator →

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