#2C052E#2C052E

#2C052E is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.5% C 0.086 H 325.9°. Best body text is #FFFFFF at 17.98:1 contrast (WCAG AA passes).

Color values

HEX#2C052E
RGBrgb(44, 5, 46)
HSLhsl(297, 80%, 10%)
HSVhsv(297, 89%, 18%)
CMYKcmyk(4.3%, 89.1%, 0%, 82%)
CIE-LABlab(7.60, 26.05, -17.36)
CIE-LCHlch(7.60, 31.30, 326.31°)
OKLaboklab(21.48% 0.0715 -0.0483)
OKLCHoklch(21.48% 0.086 325.9)
XYZxyz(1.5861, 0.8414, 2.6631)
Luminance0.0084 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C052E #072E05
analogous
#17052E #2C052E #2E051C
triadic
#2C052E #2E2C05 #052E2C
tetradic
#2C052E #2E1705 #072E05 #051C2E
square
#2C052E #2E1705 #072E05 #051C2E
split-complementary
#2C052E #1C2E05 #052E17
monochromatic
#1A031C #1A031C #2C052E #610B65 #96119C

Accessibility & contrast

On white

17.98
#2C052E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C052E
17.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C052E#FFFFFF#000000##FFFFFF
##2C052E1.0017.981.1717.98
#FFFFFF17.981.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00142F
Deuteranopia (green-blind)
#0E182D
Tritanopia (blue-blind)
#2D0B19
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2c052e;
/* rgb */ color: rgb(44, 5, 46);
/* oklch */ color: oklch(21.5% 0.086 325.9);
Tailwind
colors: {
  custom: {
    50: '#674967',
    500: '#2c052e',
    950: '#000000',
  },
}
SCSS
$custom: #2c052e;
$custom-light: #674967;
$custom-dark: #000000;
JSON
{
  "hex": "#2c052e",
  "rgb": {
    "r": 44,
    "g": 5,
    "b": 46
  },
  "hsl": {
    "h": 297.073,
    "s": 80.392,
    "l": 10
  },
  "oklch": {
    "l": 0.21479,
    "c": 0.08633,
    "h": 325.9
  },
  "luminance": 0.00841
}

Semantic roles & 50–950 ramp

primary
#2C052E
secondary
#23701F
accent
#F7313B
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2C052E

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

Preview Lab → · Contrast checker → · Palette generator →

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