#2C052A#2C052A

#2C052A is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.2% C 0.082 H 330.2°. Best body text is #FFFFFF at 18.07:1 contrast (WCAG AA passes).

Color values

HEX#2C052A
RGBrgb(44, 5, 42)
HSLhsl(303, 80%, 10%)
HSVhsv(303, 89%, 17%)
CMYKcmyk(0%, 88.6%, 4.5%, 82.7%)
CIE-LABlab(7.33, 25.17, -14.80)
CIE-LCHlch(7.33, 29.20, 329.54°)
OKLaboklab(21.18% 0.0716 -0.0409)
OKLCHoklch(21.18% 0.082 330.2)
XYZxyz(1.5109, 0.8113, 2.2671)
Luminance0.0081 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C052A #052C07
analogous
#1B052C #2C052A #2C0517
triadic
#2C052A #2A2C05 #052A2C
tetradic
#2C052A #2C1B05 #052C07 #05172C
square
#2C052A #2C1B05 #052C07 #05172C
split-complementary
#2C052A #172C05 #052C1B
monochromatic
#1B031A #1B031A #2C052A #630B5E #9A1193

Accessibility & contrast

On white

18.07
#2C052A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C052A
18.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C052A#FFFFFF#000000##FFFFFF
##2C052A1.0018.071.1618.07
#FFFFFF18.071.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02132B
Deuteranopia (green-blind)
#101829
Tritanopia (blue-blind)
#2E0916
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2c052a;
/* rgb */ color: rgb(44, 5, 42);
/* oklch */ color: oklch(21.2% 0.082 330.2);
Tailwind
colors: {
  custom: {
    50: '#674963',
    500: '#2c052a',
    950: '#000000',
  },
}
SCSS
$custom: #2c052a;
$custom-light: #674963;
$custom-dark: #000000;
JSON
{
  "hex": "#2c052a",
  "rgb": {
    "r": 44,
    "g": 5,
    "b": 42
  },
  "hsl": {
    "h": 303.077,
    "s": 79.592,
    "l": 9.608
  },
  "oklch": {
    "l": 0.21184,
    "c": 0.08248,
    "h": 330.2
  },
  "luminance": 0.00811
}

Semantic roles & 50–950 ramp

primary
#2C052A
secondary
#1F6E23
accent
#F63C32
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060105
muted
#7A7779

Preview Lab

Preview with #2C052A

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

Preview Lab → · Contrast checker → · Palette generator →

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