#2C022A#2C022A

#2C022A is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.7% C 0.089 H 330.3°. Best body text is #FFFFFF at 18.27:1 contrast (WCAG AA passes).

Color values

HEX#2C022A
RGBrgb(44, 2, 42)
HSLhsl(303, 91%, 9%)
HSVhsv(303, 95%, 17%)
CMYKcmyk(0%, 95.5%, 4.5%, 82.7%)
CIE-LABlab(6.74, 26.79, -15.73)
CIE-LCHlch(6.74, 31.06, 329.59°)
OKLaboklab(20.73% 0.0769 -0.0439)
OKLCHoklch(20.73% 0.089 330.3)
XYZxyz(1.4783, 0.7462, 2.2562)
Luminance0.0075 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C022A #022C04
analogous
#19022C #2C022A #2C0215
triadic
#2C022A #2A2C02 #022A2C
tetradic
#2C022A #2C1902 #022C04 #02152C
square
#2C022A #2C1902 #022C04 #02152C
split-complementary
#2C022A #152C02 #022C19
monochromatic
#1D011C #1D011C #2C022A #670562 #A1079A

Accessibility & contrast

On white

18.27
#2C022A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C022A
18.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C022A#FFFFFF#000000##FFFFFF
##2C022A1.0018.271.1518.27
#FFFFFF18.271.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112B
Deuteranopia (green-blind)
#0E1729
Tritanopia (blue-blind)
#2E0715
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2c022a;
/* rgb */ color: rgb(44, 2, 42);
/* oklch */ color: oklch(20.7% 0.089 330.3);
Tailwind
colors: {
  custom: {
    50: '#674763',
    500: '#2c022a',
    950: '#000000',
  },
}
SCSS
$custom: #2c022a;
$custom-light: #674763;
$custom-dark: #000000;
JSON
{
  "hex": "#2c022a",
  "rgb": {
    "r": 44,
    "g": 2,
    "b": 42
  },
  "hsl": {
    "h": 302.857,
    "s": 91.304,
    "l": 9.02
  },
  "oklch": {
    "l": 0.20728,
    "c": 0.08855,
    "h": 330.3
  },
  "luminance": 0.00746
}

Semantic roles & 50–950 ramp

primary
#2C022A
secondary
#19711D
accent
#FF3329
background
#F6F4F5
surface
#EBE6EA
border
#C6C2C6
text
#060005
muted
#7A7779

Preview Lab

Preview with #2C022A

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

Preview Lab → · Contrast checker → · Palette generator →

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