#2C052C#2C052C

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

Color values

HEX#2C052C
RGBrgb(44, 5, 44)
HSLhsl(300, 80%, 10%)
HSVhsv(300, 89%, 17%)
CMYKcmyk(0%, 88.6%, 0%, 82.7%)
CIE-LABlab(7.46, 25.60, -16.09)
CIE-LCHlch(7.46, 30.24, 327.85°)
OKLaboklab(21.33% 0.0716 -0.0447)
OKLCHoklch(21.33% 0.084 328)
XYZxyz(1.5476, 0.8260, 2.4603)
Luminance0.0083 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C052C #052C05
analogous
#19052C #2C052C #2C0519
triadic
#2C052C #2C2C05 #052C2C
tetradic
#2C052C #2C1905 #052C05 #05192C
square
#2C052C #2C1905 #052C05 #05192C
split-complementary
#2C052C #192C05 #052C19
monochromatic
#1B031B #1B031B #2C052C #630B63 #9A119A

Accessibility & contrast

On white

18.02
#2C052C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#2C052C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C052C
18.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C052C#FFFFFF#000000##FFFFFF
##2C052C1.0018.021.1718.02
#FFFFFF18.021.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01132D
Deuteranopia (green-blind)
#0F182B
Tritanopia (blue-blind)
#2E0A17
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2c052c;
/* rgb */ color: rgb(44, 5, 44);
/* oklch */ color: oklch(21.3% 0.084 328.0);
Tailwind
colors: {
  custom: {
    50: '#674965',
    500: '#2c052c',
    950: '#000000',
  },
}
SCSS
$custom: #2c052c;
$custom-light: #674965;
$custom-dark: #000000;
JSON
{
  "hex": "#2c052c",
  "rgb": {
    "r": 44,
    "g": 5,
    "b": 44
  },
  "hsl": {
    "h": 300,
    "s": 79.592,
    "l": 9.608
  },
  "oklch": {
    "l": 0.21329,
    "c": 0.08439,
    "h": 328
  },
  "luminance": 0.00826
}

Semantic roles & 50–950 ramp

primary
#2C052C
secondary
#1F6E1F
accent
#F63232
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060105
muted
#7A777A

Preview Lab

Preview with #2C052C

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

Preview Lab → · Contrast checker → · Palette generator →

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