#2C0D2F#2C0D2F

#2C0D2F is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.7% C 0.073 H 324.1°. Best body text is #FFFFFF at 17.42:1 contrast (WCAG AA passes).

Color values

HEX#2C0D2F
RGBrgb(44, 13, 47)
HSLhsl(295, 57%, 12%)
HSVhsv(295, 72%, 18%)
CMYKcmyk(6.4%, 72.3%, 0%, 81.6%)
CIE-LABlab(9.23, 21.91, -15.52)
CIE-LCHlch(9.23, 26.85, 324.68°)
OKLaboklab(22.68% 0.0594 -0.043)
OKLCHoklch(22.68% 0.073 324.1)
XYZxyz(1.6957, 1.0286, 2.7980)
Luminance0.0103 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0D2F #102F0D
analogous
#1B0D2F #2C0D2F #2F0D21
triadic
#2C0D2F #2F2C0D #0D2F2C
tetradic
#2C0D2F #2F1B0D #102F0D #0D212F
square
#2C0D2F #2F1B0D #102F0D #0D212F
split-complementary
#2C0D2F #212F0D #0D2F1B
monochromatic
#160718 #160718 #2C0D2F #591A5F #86288F

Accessibility & contrast

On white

17.42
#2C0D2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0D2F
17.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0D2F#FFFFFF#000000##FFFFFF
##2C0D2F1.0017.421.2117.42
#FFFFFF17.421.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071830
Deuteranopia (green-blind)
#121B2E
Tritanopia (blue-blind)
#2D121C
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2c0d2f;
/* rgb */ color: rgb(44, 13, 47);
/* oklch */ color: oklch(22.7% 0.073 324.1);
Tailwind
colors: {
  custom: {
    50: '#664e67',
    500: '#2c0d2f',
    950: '#000000',
  },
}
SCSS
$custom: #2c0d2f;
$custom-light: #664e67;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0d2f",
  "rgb": {
    "r": 44,
    "g": 13,
    "b": 47
  },
  "hsl": {
    "h": 294.706,
    "s": 56.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22679,
    "c": 0.07333,
    "h": 324.1
  },
  "luminance": 0.01029
}

Semantic roles & 50–950 ramp

primary
#2C0D2F
secondary
#336A2E
accent
#E04855
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2C0D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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