#2C022D#2C022D

#2C022D is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.0% C 0.091 H 327.2°. Best body text is #FFFFFF at 18.20:1 contrast (WCAG AA passes).

Color values

HEX#2C022D
RGBrgb(44, 2, 45)
HSLhsl(299, 91%, 9%)
HSVhsv(299, 96%, 18%)
CMYKcmyk(2.2%, 95.6%, 0%, 82.4%)
CIE-LABlab(6.94, 27.47, -17.66)
CIE-LCHlch(6.94, 32.66, 327.26°)
OKLaboklab(20.96% 0.0767 -0.0494)
OKLCHoklch(20.96% 0.091 327.2)
XYZxyz(1.5340, 0.7685, 2.5496)
Luminance0.0077 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C022D #032D02
analogous
#17022D #2C022D #2D0219
triadic
#2C022D #2D2C02 #022D2C
tetradic
#2C022D #2D1702 #032D02 #02192D
square
#2C022D #2D1702 #032D02 #02192D
split-complementary
#2C022D #192D02 #022D17
monochromatic
#1D011D #1D011D #2C022D #650568 #9F07A2

Accessibility & contrast

On white

18.20
#2C022D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C022D
18.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C022D#FFFFFF#000000##FFFFFF
##2C022D1.0018.201.1518.20
#FFFFFF18.201.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00122E
Deuteranopia (green-blind)
#0C172C
Tritanopia (blue-blind)
#2E0817
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2c022d;
/* rgb */ color: rgb(44, 2, 45);
/* oklch */ color: oklch(21.0% 0.091 327.2);
Tailwind
colors: {
  custom: {
    50: '#674766',
    500: '#2c022d',
    950: '#000000',
  },
}
SCSS
$custom: #2c022d;
$custom-light: #674766;
$custom-dark: #000000;
JSON
{
  "hex": "#2c022d",
  "rgb": {
    "r": 44,
    "g": 2,
    "b": 45
  },
  "hsl": {
    "h": 298.605,
    "s": 91.489,
    "l": 9.216
  },
  "oklch": {
    "l": 0.20957,
    "c": 0.09123,
    "h": 327.2
  },
  "luminance": 0.00768
}

Semantic roles & 50–950 ramp

primary
#2C022D
secondary
#1B7219
accent
#FF292E
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#060006
muted
#7A777A

Preview Lab

Preview with #2C022D

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

Preview Lab → · Contrast checker → · Palette generator →

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