#2C012B#2C012B

#2C012B is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.6% C 0.092 H 329.3°. Best body text is #FFFFFF at 18.32:1 contrast (WCAG AA passes).

Color values

HEX#2C012B
RGBrgb(44, 1, 43)
HSLhsl(301, 96%, 9%)
HSVhsv(301, 98%, 17%)
CMYKcmyk(0%, 97.7%, 2.3%, 82.7%)
CIE-LABlab(6.61, 27.56, -16.69)
CIE-LCHlch(6.61, 32.22, 328.81°)
OKLaboklab(20.65% 0.0787 -0.0467)
OKLCHoklch(20.65% 0.092 329.3)
XYZxyz(1.4856, 0.7317, 2.3480)
Luminance0.0073 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C012B #012C02
analogous
#18012C #2C012B #2C0116
triadic
#2C012B #2B2C01 #012B2C
tetradic
#2C012B #2C1801 #012C02 #01162C
square
#2C012B #2C1801 #012C02 #01162C
split-complementary
#2C012B #162C01 #012C18
monochromatic
#1E011D #1E011D #2C012B #680265 #A404A0

Accessibility & contrast

On white

18.32
#2C012B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#2C012B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C012B
18.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C012B#FFFFFF#000000##FFFFFF
##2C012B1.0018.321.1518.32
#FFFFFF18.321.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112C
Deuteranopia (green-blind)
#0D172A
Tritanopia (blue-blind)
#2E0615
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2c012b;
/* rgb */ color: rgb(44, 1, 43);
/* oklch */ color: oklch(20.6% 0.092 329.3);
Tailwind
colors: {
  custom: {
    50: '#674764',
    500: '#2c012b',
    950: '#000000',
  },
}
SCSS
$custom: #2c012b;
$custom-light: #674764;
$custom-dark: #000000;
JSON
{
  "hex": "#2c012b",
  "rgb": {
    "r": 44,
    "g": 1,
    "b": 43
  },
  "hsl": {
    "h": 301.395,
    "s": 95.556,
    "l": 8.824
  },
  "oklch": {
    "l": 0.20647,
    "c": 0.09154,
    "h": 329.3
  },
  "luminance": 0.00732
}

Semantic roles & 50–950 ramp

primary
#2C012B
secondary
#177219
accent
#FF2E29
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#060005
muted
#7A777A

Preview Lab

Preview with #2C012B

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

Preview Lab → · Contrast checker → · Palette generator →

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