#2C1028#2C1028

#2C1028 is a very dark, muted purple. Relative luminance 0.011; OKLCH L 22.7% C 0.060 H 333.0°. Best body text is #FFFFFF at 17.33:1 contrast (WCAG AA passes).

Color values

HEX#2C1028
RGBrgb(44, 16, 40)
HSLhsl(309, 47%, 12%)
HSVhsv(309, 64%, 17%)
CMYKcmyk(0%, 63.6%, 9.1%, 82.7%)
CIE-LABlab(9.48, 18.52, -9.94)
CIE-LCHlch(9.48, 21.01, 331.78°)
OKLaboklab(22.72% 0.0531 -0.027)
OKLCHoklch(22.72% 0.06 333)
XYZxyz(1.6070, 1.0594, 2.1269)
Luminance0.0106 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1028 #102C14
analogous
#22102C #2C1028 #2C101A
triadic
#2C1028 #282C10 #10282C
tetradic
#2C1028 #2C2210 #102C14 #101A2C
square
#2C1028 #2C2210 #102C14 #101A2C
split-complementary
#2C1028 #1A2C10 #102C22
monochromatic
#160814 #160814 #2C1028 #592051 #86317A

Accessibility & contrast

On white

17.33
#2C1028 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2C1028 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1028
17.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1028#FFFFFF#000000##FFFFFF
##2C10281.0017.331.2117.33
#FFFFFF17.331.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1829
Deuteranopia (green-blind)
#181C27
Tritanopia (blue-blind)
#2E121A
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2c1028;
/* rgb */ color: rgb(44, 16, 40);
/* oklch */ color: oklch(22.7% 0.060 333.0);
Tailwind
colors: {
  custom: {
    50: '#664f62',
    500: '#2c1028',
    950: '#000000',
  },
}
SCSS
$custom: #2c1028;
$custom-light: #664f62;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1028",
  "rgb": {
    "r": 44,
    "g": 16,
    "b": 40
  },
  "hsl": {
    "h": 308.571,
    "s": 46.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22724,
    "c": 0.05959,
    "h": 333
  },
  "luminance": 0.01059
}

Semantic roles & 50–950 ramp

primary
#2C1028
secondary
#33653A
accent
#D66451
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060205
muted
#7A7879

Preview Lab

Preview with #2C1028

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

Preview Lab → · Contrast checker → · Palette generator →

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