#2C1832#2C1832

#2C1832 is a very dark, muted purple. Relative luminance 0.014; OKLCH L 24.8% C 0.055 H 318.1°. Best body text is #FFFFFF at 16.36:1 contrast (WCAG AA passes).

Color values

HEX#2C1832
RGBrgb(44, 24, 50)
HSLhsl(286, 35%, 15%)
HSVhsv(286, 52%, 20%)
CMYKcmyk(12%, 52%, 0%, 80.4%)
CIE-LABlab(12.08, 15.62, -13.23)
CIE-LCHlch(12.08, 20.46, 319.73°)
OKLaboklab(24.85% 0.0407 -0.0365)
OKLCHoklch(24.85% 0.055 318.1)
XYZxyz(1.9410, 1.4191, 3.1887)
Luminance0.0142 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1832 #1E3218
analogous
#1F1832 #2C1832 #32182B
triadic
#2C1832 #322C18 #18322C
tetradic
#2C1832 #321F18 #1E3218 #182B32
square
#2C1832 #321F18 #1E3218 #182B32
split-complementary
#2C1832 #2B3218 #18321F
monochromatic
#120A15 #120A15 #2C1832 #502C5B #754085

Accessibility & contrast

On white

16.36
#2C1832 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#2C1832 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1832
16.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1832#FFFFFF#000000##FFFFFF
##2C18321.0016.361.2816.36
#FFFFFF16.361.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141E33
Deuteranopia (green-blind)
#192031
Tritanopia (blue-blind)
#2C1B22
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #2c1832;
/* rgb */ color: rgb(44, 24, 50);
/* oklch */ color: oklch(24.8% 0.055 318.1);
Tailwind
colors: {
  custom: {
    50: '#66556a',
    500: '#2c1832',
    950: '#000000',
  },
}
SCSS
$custom: #2c1832;
$custom-light: #66556a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1832",
  "rgb": {
    "r": 44,
    "g": 24,
    "b": 50
  },
  "hsl": {
    "h": 286.154,
    "s": 35.135,
    "l": 14.51
  },
  "oklch": {
    "l": 0.24848,
    "c": 0.05468,
    "h": 318.1
  },
  "luminance": 0.01419
}

Semantic roles & 50–950 ramp

primary
#2C1832
secondary
#48673F
accent
#CB5D76
background
#F6F4F6
surface
#EBE8EB
border
#C6C4C6
text
#060306
muted
#7A787A

Preview Lab

Preview with #2C1832

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

Preview Lab → · Contrast checker → · Palette generator →

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