#2C1931#2C1931

#2C1931 is a very dark, muted purple. Relative luminance 0.015; OKLCH L 25.0% C 0.051 H 319.1°. Best body text is #FFFFFF at 16.27:1 contrast (WCAG AA passes).

Color values

HEX#2C1931
RGBrgb(44, 25, 49)
HSLhsl(288, 32%, 15%)
HSVhsv(288, 49%, 19%)
CMYKcmyk(10.2%, 49%, 0%, 80.8%)
CIE-LABlab(12.30, 14.66, -12.16)
CIE-LCHlch(12.30, 19.05, 320.33°)
OKLaboklab(24.99% 0.0386 -0.0335)
OKLCHoklch(24.99% 0.051 319.1)
XYZxyz(1.9406, 1.4525, 3.0833)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1931 #1E3119
analogous
#201931 #2C1931 #31192A
triadic
#2C1931 #312C19 #19312C
tetradic
#2C1931 #312019 #1E3119 #192A31
square
#2C1931 #312019 #1E3119 #192A31
split-complementary
#2C1931 #2A3119 #193120
monochromatic
#120A14 #120A14 #2C1931 #502E5A #754282

Accessibility & contrast

On white

16.27
#2C1931 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#2C1931 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1931
16.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1931#FFFFFF#000000##FFFFFF
##2C19311.0016.271.2916.27
#FFFFFF16.271.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161F32
Deuteranopia (green-blind)
#1A2130
Tritanopia (blue-blind)
#2C1C22
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #2c1931;
/* rgb */ color: rgb(44, 25, 49);
/* oklch */ color: oklch(25.0% 0.051 319.1);
Tailwind
colors: {
  custom: {
    50: '#655669',
    500: '#2c1931',
    950: '#000000',
  },
}
SCSS
$custom: #2c1931;
$custom-light: #655669;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1931",
  "rgb": {
    "r": 44,
    "g": 25,
    "b": 49
  },
  "hsl": {
    "h": 287.5,
    "s": 32.432,
    "l": 14.51
  },
  "oklch": {
    "l": 0.24994,
    "c": 0.05108,
    "h": 319.1
  },
  "luminance": 0.01452
}

Semantic roles & 50–950 ramp

primary
#2C1931
secondary
#486640
accent
#C95F75
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060306
muted
#7A787A

Preview Lab

Preview with #2C1931

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

Preview Lab → · Contrast checker → · Palette generator →

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