#2C1031#2C1031

#2C1031 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.3% C 0.070 H 321.4°. Best body text is #FFFFFF at 17.13:1 contrast (WCAG AA passes).

Color values

HEX#2C1031
RGBrgb(44, 16, 49)
HSLhsl(291, 51%, 13%)
HSVhsv(291, 67%, 19%)
CMYKcmyk(10.2%, 67.3%, 0%, 80.8%)
CIE-LABlab(10.01, 20.61, -15.75)
CIE-LCHlch(10.01, 25.94, 322.61°)
OKLaboklab(23.3% 0.0547 -0.0437)
OKLCHoklch(23.3% 0.07 321.4)
XYZxyz(1.7783, 1.1279, 3.0292)
Luminance0.0113 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1031 #153110
analogous
#1B1031 #2C1031 #311025
triadic
#2C1031 #312C10 #10312C
tetradic
#2C1031 #311B10 #153110 #102531
square
#2C1031 #311B10 #153110 #102531
split-complementary
#2C1031 #253110 #10311B
monochromatic
#150817 #150817 #2C1031 #551F5F #7F2E8D

Accessibility & contrast

On white

17.13
#2C1031 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#2C1031 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1031
17.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1031#FFFFFF#000000##FFFFFF
##2C10311.0017.131.2317.13
#FFFFFF17.131.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1932
Deuteranopia (green-blind)
#131D30
Tritanopia (blue-blind)
#2D151E
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2c1031;
/* rgb */ color: rgb(44, 16, 49);
/* oklch */ color: oklch(23.3% 0.070 321.4);
Tailwind
colors: {
  custom: {
    50: '#665069',
    500: '#2c1031',
    950: '#000000',
  },
}
SCSS
$custom: #2c1031;
$custom-light: #665069;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1031",
  "rgb": {
    "r": 44,
    "g": 16,
    "b": 49
  },
  "hsl": {
    "h": 290.909,
    "s": 50.769,
    "l": 12.745
  },
  "oklch": {
    "l": 0.23296,
    "c": 0.07002,
    "h": 321.4
  },
  "luminance": 0.01128
}

Semantic roles & 50–950 ramp

primary
#2C1031
secondary
#3B6A33
accent
#DA4E63
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2C1031

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

Preview Lab → · Contrast checker → · Palette generator →

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