#2C0727#2C0727

#2C0727 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.3% C 0.076 H 333.8°. Best body text is #FFFFFF at 18.00:1 contrast (WCAG AA passes).

Color values

HEX#2C0727
RGBrgb(44, 7, 39)
HSLhsl(308, 73%, 10%)
HSVhsv(308, 84%, 17%)
CMYKcmyk(0%, 84.1%, 11.4%, 82.7%)
CIE-LABlab(7.53, 23.44, -12.21)
CIE-LCHlch(7.53, 26.44, 332.48°)
OKLaboklab(21.28% 0.068 -0.0335)
OKLCHoklch(21.28% 0.076 333.8)
XYZxyz(1.4809, 0.8340, 2.0021)
Luminance0.0083 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0727 #072C0C
analogous
#1E072C #2C0727 #2C0715
triadic
#2C0727 #272C07 #07272C
tetradic
#2C0727 #2C1E07 #072C0C #07152C
square
#2C0727 #2C1E07 #072C0C #07152C
split-complementary
#2C0727 #152C07 #072C1E
monochromatic
#1A0417 #1A0417 #2C0727 #610F56 #961885

Accessibility & contrast

On white

18.00
#2C0727 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0727
18.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0727#FFFFFF#000000##FFFFFF
##2C07271.0018.001.1718.00
#FFFFFF18.001.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061328
Deuteranopia (green-blind)
#131926
Tritanopia (blue-blind)
#2E0A15
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2c0727;
/* rgb */ color: rgb(44, 7, 39);
/* oklch */ color: oklch(21.3% 0.076 333.8);
Tailwind
colors: {
  custom: {
    50: '#674a61',
    500: '#2c0727',
    950: '#000000',
  },
}
SCSS
$custom: #2c0727;
$custom-light: #674a61;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0727",
  "rgb": {
    "r": 44,
    "g": 7,
    "b": 39
  },
  "hsl": {
    "h": 308.108,
    "s": 72.549,
    "l": 10
  },
  "oklch": {
    "l": 0.21276,
    "c": 0.07578,
    "h": 333.8
  },
  "luminance": 0.00834
}

Semantic roles & 50–950 ramp

primary
#2C0727
secondary
#236C2D
accent
#EF5139
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060105
muted
#7A7779

Preview Lab

Preview with #2C0727

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

Preview Lab → · Contrast checker → · Palette generator →

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