#2C1232#2C1232

#2C1232 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.7% C 0.067 H 319.8°. Best body text is #FFFFFF at 16.94:1 contrast (WCAG AA passes).

Color values

HEX#2C1232
RGBrgb(44, 18, 50)
HSLhsl(289, 47%, 13%)
HSVhsv(289, 64%, 20%)
CMYKcmyk(12%, 64%, 0%, 80.4%)
CIE-LABlab(10.55, 19.61, -15.64)
CIE-LCHlch(10.55, 25.08, 321.42°)
OKLaboklab(23.71% 0.0514 -0.0434)
OKLCHoklch(23.71% 0.067 319.8)
XYZxyz(1.8307, 1.1984, 3.1519)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1232 #183212
analogous
#1C1232 #2C1232 #321228
triadic
#2C1232 #322C12 #12322C
tetradic
#2C1232 #321C12 #183212 #122832
square
#2C1232 #321C12 #183212 #122832
split-complementary
#2C1232 #283212 #12321C
monochromatic
#140817 #140817 #2C1232 #54225F #7B328C

Accessibility & contrast

On white

16.94
#2C1232 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#2C1232 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1232
16.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1232#FFFFFF#000000##FFFFFF
##2C12321.0016.941.2416.94
#FFFFFF16.941.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C1B33
Deuteranopia (green-blind)
#141E31
Tritanopia (blue-blind)
#2C171F
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2c1232;
/* rgb */ color: rgb(44, 18, 50);
/* oklch */ color: oklch(23.7% 0.067 319.8);
Tailwind
colors: {
  custom: {
    50: '#66516a',
    500: '#2c1232',
    950: '#000000',
  },
}
SCSS
$custom: #2c1232;
$custom-light: #66516a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1232",
  "rgb": {
    "r": 44,
    "g": 18,
    "b": 50
  },
  "hsl": {
    "h": 288.75,
    "s": 47.059,
    "l": 13.333
  },
  "oklch": {
    "l": 0.23707,
    "c": 0.06731,
    "h": 319.8
  },
  "luminance": 0.01198
}

Semantic roles & 50–950 ramp

primary
#2C1232
secondary
#3F6A36
accent
#D7516A
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2C1232

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

Preview Lab → · Contrast checker → · Palette generator →

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