#2C1932#2C1932

#2C1932 is a dark, muted purple. Relative luminance 0.015; OKLCH L 25.1% C 0.052 H 317.8°. Best body text is #FFFFFF at 16.25:1 contrast (WCAG AA passes).

Color values

HEX#2C1932
RGBrgb(44, 25, 50)
HSLhsl(286, 33%, 15%)
HSVhsv(286, 50%, 20%)
CMYKcmyk(12%, 50%, 0%, 80.4%)
CIE-LABlab(12.36, 14.92, -12.80)
CIE-LCHlch(12.36, 19.66, 319.38°)
OKLaboklab(25.05% 0.0389 -0.0353)
OKLCHoklch(25.05% 0.052 317.8)
XYZxyz(1.9620, 1.4611, 3.1957)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1932 #1F3219
analogous
#201932 #2C1932 #32192C
triadic
#2C1932 #322C19 #19322C
tetradic
#2C1932 #322019 #1F3219 #192C32
square
#2C1932 #322019 #1F3219 #192C32
split-complementary
#2C1932 #2C3219 #193220
monochromatic
#120A14 #120A14 #2C1932 #502D5B #744284

Accessibility & contrast

On white

16.25
#2C1932 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C1932
16.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1932#FFFFFF#000000##FFFFFF
##2C19321.0016.251.2916.25
#FFFFFF16.251.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151F33
Deuteranopia (green-blind)
#1A2131
Tritanopia (blue-blind)
#2C1C23
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #2c1932;
/* rgb */ color: rgb(44, 25, 50);
/* oklch */ color: oklch(25.1% 0.052 317.8);
Tailwind
colors: {
  custom: {
    50: '#66566a',
    500: '#2c1932',
    950: '#000000',
  },
}
SCSS
$custom: #2c1932;
$custom-light: #66566a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1932",
  "rgb": {
    "r": 44,
    "g": 25,
    "b": 50
  },
  "hsl": {
    "h": 285.6,
    "s": 33.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.25053,
    "c": 0.05248,
    "h": 317.8
  },
  "luminance": 0.01461
}

Semantic roles & 50–950 ramp

primary
#2C1932
secondary
#496740
accent
#C95E78
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060306
muted
#7A787A

Preview Lab

Preview with #2C1932

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

Preview Lab → · Contrast checker → · Palette generator →

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