#2C022B#2C022B

#2C022B is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 20.8% C 0.089 H 329.3°. Best body text is #FFFFFF at 18.25:1 contrast (WCAG AA passes).

Color values

HEX#2C022B
RGBrgb(44, 2, 43)
HSLhsl(301, 91%, 9%)
HSVhsv(301, 95%, 17%)
CMYKcmyk(0%, 95.5%, 2.3%, 82.7%)
CIE-LABlab(6.81, 27.02, -16.38)
CIE-LCHlch(6.81, 31.59, 328.78°)
OKLaboklab(20.8% 0.0769 -0.0457)
OKLCHoklch(20.8% 0.089 329.3)
XYZxyz(1.4964, 0.7534, 2.3516)
Luminance0.0075 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C022B #022C03
analogous
#18022C #2C022B #2C0216
triadic
#2C022B #2B2C02 #022B2C
tetradic
#2C022B #2C1802 #022C03 #02162C
square
#2C022B #2C1802 #022C03 #02162C
split-complementary
#2C022B #162C02 #022C18
monochromatic
#1D011D #1D011D #2C022B #670564 #A1079D

Accessibility & contrast

On white

18.25
#2C022B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C022B
18.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C022B#FFFFFF#000000##FFFFFF
##2C022B1.0018.251.1518.25
#FFFFFF18.251.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c022b;
/* rgb */ color: rgb(44, 2, 43);
/* oklch */ color: oklch(20.8% 0.089 329.3);
Tailwind
colors: {
  custom: {
    50: '#674764',
    500: '#2c022b',
    950: '#000000',
  },
}
SCSS
$custom: #2c022b;
$custom-light: #674764;
$custom-dark: #000000;
JSON
{
  "hex": "#2c022b",
  "rgb": {
    "r": 44,
    "g": 2,
    "b": 43
  },
  "hsl": {
    "h": 301.429,
    "s": 91.304,
    "l": 9.02
  },
  "oklch": {
    "l": 0.20803,
    "c": 0.08943,
    "h": 329.3
  },
  "luminance": 0.00753
}

Semantic roles & 50–950 ramp

primary
#2C022B
secondary
#19711B
accent
#FF2E29
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#060005
muted
#7A777A

Preview Lab

Preview with #2C022B

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

Preview Lab → · Contrast checker → · Palette generator →

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