#2C0D2A#2C0D2A

#2C0D2A is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.3% C 0.068 H 330.1°. Best body text is #FFFFFF at 17.53:1 contrast (WCAG AA passes).

Color values

HEX#2C0D2A
RGBrgb(44, 13, 42)
HSLhsl(304, 54%, 11%)
HSVhsv(304, 70%, 17%)
CMYKcmyk(0%, 70.5%, 4.5%, 82.7%)
CIE-LABlab(8.91, 20.77, -12.31)
CIE-LCHlch(8.91, 24.15, 329.35°)
OKLaboklab(22.35% 0.0588 -0.0338)
OKLCHoklch(22.35% 0.068 330.1)
XYZxyz(1.6005, 0.9906, 2.2969)
Luminance0.0099 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0D2A #0D2C0F
analogous
#1E0D2C #2C0D2A #2C0D1A
triadic
#2C0D2A #2A2C0D #0D2A2C
tetradic
#2C0D2A #2C1E0D #0D2C0F #0D1A2C
square
#2C0D2A #2C1E0D #0D2C0F #0D1A2C
split-complementary
#2C0D2A #1A2C0D #0D2C1E
monochromatic
#180717 #180717 #2C0D2A #5B1B57 #8A2984

Accessibility & contrast

On white

17.53
#2C0D2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#2C0D2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0D2A
17.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0D2A#FFFFFF#000000##FFFFFF
##2C0D2A1.0017.531.2017.53
#FFFFFF17.531.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B172B
Deuteranopia (green-blind)
#151B29
Tritanopia (blue-blind)
#2E1019
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2c0d2a;
/* rgb */ color: rgb(44, 13, 42);
/* oklch */ color: oklch(22.3% 0.068 330.1);
Tailwind
colors: {
  custom: {
    50: '#664e63',
    500: '#2c0d2a',
    950: '#000000',
  },
}
SCSS
$custom: #2c0d2a;
$custom-light: #664e63;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0d2a",
  "rgb": {
    "r": 44,
    "g": 13,
    "b": 42
  },
  "hsl": {
    "h": 303.871,
    "s": 54.386,
    "l": 11.176
  },
  "oklch": {
    "l": 0.22346,
    "c": 0.06777,
    "h": 330.1
  },
  "luminance": 0.0099
}

Semantic roles & 50–950 ramp

primary
#2C0D2A
secondary
#2E6732
accent
#DE544A
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060105
muted
#7A7779

Preview Lab

Preview with #2C0D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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