#2C1E32#2C1E32

#2C1E32 is a dark, muted purple. Relative luminance 0.017; OKLCH L 26.1% C 0.041 H 315.4°. Best body text is #FFFFFF at 15.69:1 contrast (WCAG AA passes).

Color values

HEX#2C1E32
RGBrgb(44, 30, 50)
HSLhsl(282, 25%, 16%)
HSVhsv(282, 40%, 20%)
CMYKcmyk(12%, 40%, 0%, 80.4%)
CIE-LABlab(13.79, 11.40, -10.57)
CIE-LCHlch(13.79, 15.55, 317.16°)
OKLaboklab(26.14% 0.0294 -0.029)
OKLCHoklch(26.14% 0.041 315.4)
XYZxyz(2.0786, 1.6944, 3.2345)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1E32 #24321E
analogous
#221E32 #2C1E32 #321E2E
triadic
#2C1E32 #322C1E #1E322C
tetradic
#2C1E32 #32221E #24321E #1E2E32
square
#2C1E32 #32221E #24321E #1E2E32
split-complementary
#2C1E32 #2E321E #1E3222
monochromatic
#110B13 #110B13 #2C1E32 #4E3558 #6F4C7E

Accessibility & contrast

On white

15.69
#2C1E32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#2C1E32 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1E32
15.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1E32#FFFFFF#000000##FFFFFF
##2C1E321.0015.691.3415.69
#FFFFFF15.691.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2233
Deuteranopia (green-blind)
#1E2431
Tritanopia (blue-blind)
#2C2025
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #2c1e32;
/* rgb */ color: rgb(44, 30, 50);
/* oklch */ color: oklch(26.1% 0.041 315.4);
Tailwind
colors: {
  custom: {
    50: '#655a6a',
    500: '#2c1e32',
    950: '#000000',
  },
}
SCSS
$custom: #2c1e32;
$custom-light: #655a6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1e32",
  "rgb": {
    "r": 44,
    "g": 30,
    "b": 50
  },
  "hsl": {
    "h": 282,
    "s": 25,
    "l": 15.686
  },
  "oklch": {
    "l": 0.26137,
    "c": 0.04128,
    "h": 315.4
  },
  "luminance": 0.01694
}

Semantic roles & 50–950 ramp

primary
#2C1E32
secondary
#506547
accent
#C16682
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#050306
muted
#7A787A

Preview Lab

Preview with #2C1E32

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

Preview Lab → · Contrast checker → · Palette generator →

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