#2C072E#2C072E

#2C072E is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.8% C 0.083 H 325.8°. Best body text is #FFFFFF at 17.84:1 contrast (WCAG AA passes).

Color values

HEX#2C072E
RGBrgb(44, 7, 46)
HSLhsl(297, 74%, 10%)
HSVhsv(297, 85%, 18%)
CMYKcmyk(4.3%, 84.8%, 0%, 82%)
CIE-LABlab(7.99, 24.94, -16.74)
CIE-LCHlch(7.99, 30.03, 326.12°)
OKLaboklab(21.76% 0.0684 -0.0465)
OKLCHoklch(21.76% 0.083 325.8)
XYZxyz(1.6078, 0.8848, 2.6703)
Luminance0.0089 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C072E #092E07
analogous
#18072E #2C072E #2E071C
triadic
#2C072E #2E2C07 #072E2C
tetradic
#2C072E #2E1807 #092E07 #071C2E
square
#2C072E #2E1807 #092E07 #071C2E
split-complementary
#2C072E #1C2E07 #072E18
monochromatic
#19041B #19041B #2C072E #5F0F63 #921798

Accessibility & contrast

On white

17.84
#2C072E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#2C072E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C072E
17.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C072E#FFFFFF#000000##FFFFFF
##2C072E1.0017.841.1817.84
#FFFFFF17.841.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02152F
Deuteranopia (green-blind)
#0F192D
Tritanopia (blue-blind)
#2D0D19
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2c072e;
/* rgb */ color: rgb(44, 7, 46);
/* oklch */ color: oklch(21.8% 0.083 325.8);
Tailwind
colors: {
  custom: {
    50: '#674a67',
    500: '#2c072e',
    950: '#000000',
  },
}
SCSS
$custom: #2c072e;
$custom-light: #674a67;
$custom-dark: #000000;
JSON
{
  "hex": "#2c072e",
  "rgb": {
    "r": 44,
    "g": 7,
    "b": 46
  },
  "hsl": {
    "h": 296.923,
    "s": 73.585,
    "l": 10.392
  },
  "oklch": {
    "l": 0.21764,
    "c": 0.08268,
    "h": 325.8
  },
  "luminance": 0.00885
}

Semantic roles & 50–950 ramp

primary
#2C072E
secondary
#276E23
accent
#F03841
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2C072E

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

Preview Lab → · Contrast checker → · Palette generator →

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