#2C052B#2C052B

#2C052B is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.3% C 0.083 H 329.1°. Best body text is #FFFFFF at 18.05:1 contrast (WCAG AA passes).

Color values

HEX#2C052B
RGBrgb(44, 5, 43)
HSLhsl(302, 80%, 10%)
HSVhsv(302, 89%, 17%)
CMYKcmyk(0%, 88.6%, 2.3%, 82.7%)
CIE-LABlab(7.39, 25.39, -15.45)
CIE-LCHlch(7.39, 29.72, 328.68°)
OKLaboklab(21.26% 0.0716 -0.0428)
OKLCHoklch(21.26% 0.083 329.1)
XYZxyz(1.5290, 0.8185, 2.3625)
Luminance0.0082 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C052B #052C06
analogous
#1A052C #2C052B #2C0518
triadic
#2C052B #2B2C05 #052B2C
tetradic
#2C052B #2C1A05 #052C06 #05182C
square
#2C052B #2C1A05 #052C06 #05182C
split-complementary
#2C052B #182C05 #052C1A
monochromatic
#1B031B #1B031B #2C052B #630B61 #9A1196

Accessibility & contrast

On white

18.05
#2C052B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#2C052B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C052B
18.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C052B#FFFFFF#000000##FFFFFF
##2C052B1.0018.051.1618.05
#FFFFFF18.051.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02132C
Deuteranopia (green-blind)
#10182A
Tritanopia (blue-blind)
#2E0A17
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2c052b;
/* rgb */ color: rgb(44, 5, 43);
/* oklch */ color: oklch(21.3% 0.083 329.1);
Tailwind
colors: {
  custom: {
    50: '#674964',
    500: '#2c052b',
    950: '#000000',
  },
}
SCSS
$custom: #2c052b;
$custom-light: #674964;
$custom-dark: #000000;
JSON
{
  "hex": "#2c052b",
  "rgb": {
    "r": 44,
    "g": 5,
    "b": 43
  },
  "hsl": {
    "h": 301.538,
    "s": 79.592,
    "l": 9.608
  },
  "oklch": {
    "l": 0.21256,
    "c": 0.08343,
    "h": 329.1
  },
  "luminance": 0.00818
}

Semantic roles & 50–950 ramp

primary
#2C052B
secondary
#1F6E21
accent
#F63732
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060105
muted
#7A777A

Preview Lab

Preview with #2C052B

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

Preview Lab → · Contrast checker → · Palette generator →

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