#2C1032#2C1032

#2C1032 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.4% C 0.071 H 320.3°. Best body text is #FFFFFF at 17.11:1 contrast (WCAG AA passes).

Color values

HEX#2C1032
RGBrgb(44, 16, 50)
HSLhsl(289, 52%, 13%)
HSVhsv(289, 68%, 20%)
CMYKcmyk(12%, 68%, 0%, 80.4%)
CIE-LABlab(10.08, 20.86, -16.38)
CIE-LCHlch(10.08, 26.52, 321.86°)
OKLaboklab(23.37% 0.0548 -0.0455)
OKLCHoklch(23.37% 0.071 320.3)
XYZxyz(1.7997, 1.1364, 3.1415)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1032 #163210
analogous
#1B1032 #2C1032 #321027
triadic
#2C1032 #322C10 #10322C
tetradic
#2C1032 #321B10 #163210 #102732
square
#2C1032 #321B10 #163210 #102732
split-complementary
#2C1032 #273210 #10321B
monochromatic
#140717 #140717 #2C1032 #551F60 #7E2E8F

Accessibility & contrast

On white

17.11
#2C1032 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#2C1032 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1032
17.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1032#FFFFFF#000000##FFFFFF
##2C10321.0017.111.2317.11
#FFFFFF17.111.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091A33
Deuteranopia (green-blind)
#131D31
Tritanopia (blue-blind)
#2C151F
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2c1032;
/* rgb */ color: rgb(44, 16, 50);
/* oklch */ color: oklch(23.4% 0.071 320.3);
Tailwind
colors: {
  custom: {
    50: '#66506a',
    500: '#2c1032',
    950: '#000000',
  },
}
SCSS
$custom: #2c1032;
$custom-light: #66506a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1032",
  "rgb": {
    "r": 44,
    "g": 16,
    "b": 50
  },
  "hsl": {
    "h": 289.412,
    "s": 51.515,
    "l": 12.941
  },
  "oklch": {
    "l": 0.23365,
    "c": 0.07124,
    "h": 320.3
  },
  "luminance": 0.01136
}

Semantic roles & 50–950 ramp

primary
#2C1032
secondary
#3C6B32
accent
#DB4D66
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2C1032

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

Preview Lab → · Contrast checker → · Palette generator →

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