#2C052F#2C052F

#2C052F is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.6% C 0.087 H 324.9°. Best body text is #FFFFFF at 17.95:1 contrast (WCAG AA passes).

Color values

HEX#2C052F
RGBrgb(44, 5, 47)
HSLhsl(296, 81%, 10%)
HSVhsv(296, 89%, 18%)
CMYKcmyk(6.4%, 89.4%, 0%, 81.6%)
CIE-LABlab(7.67, 26.27, -17.99)
CIE-LCHlch(7.67, 31.84, 325.59°)
OKLaboklab(21.56% 0.0715 -0.0502)
OKLCHoklch(21.56% 0.087 324.9)
XYZxyz(1.6060, 0.8494, 2.7681)
Luminance0.0085 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C052F #082F05
analogous
#17052F #2C052F #2F051D
triadic
#2C052F #2F2C05 #052F2C
tetradic
#2C052F #2F1705 #082F05 #051D2F
square
#2C052F #2F1705 #082F05 #051D2F
split-complementary
#2C052F #1D2F05 #052F17
monochromatic
#1A031C #1A031C #2C052F #600B66 #94119E

Accessibility & contrast

On white

17.95
#2C052F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C052F
17.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C052F#FFFFFF#000000##FFFFFF
##2C052F1.0017.951.1717.95
#FFFFFF17.951.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001430
Deuteranopia (green-blind)
#0D182E
Tritanopia (blue-blind)
#2D0C19
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2c052f;
/* rgb */ color: rgb(44, 5, 47);
/* oklch */ color: oklch(21.6% 0.087 324.9);
Tailwind
colors: {
  custom: {
    50: '#674968',
    500: '#2c052f',
    950: '#000000',
  },
}
SCSS
$custom: #2c052f;
$custom-light: #674968;
$custom-dark: #000000;
JSON
{
  "hex": "#2c052f",
  "rgb": {
    "r": 44,
    "g": 5,
    "b": 47
  },
  "hsl": {
    "h": 295.714,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.21556,
    "c": 0.08732,
    "h": 324.9
  },
  "luminance": 0.00849
}

Semantic roles & 50–950 ramp

primary
#2C052F
secondary
#25711F
accent
#F7313F
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2C052F

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

Preview Lab → · Contrast checker → · Palette generator →

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