#2C072F#2C072F

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

Color values

HEX#2C072F
RGBrgb(44, 7, 47)
HSLhsl(296, 74%, 11%)
HSVhsv(296, 85%, 18%)
CMYKcmyk(6.4%, 85.1%, 0%, 81.6%)
CIE-LABlab(8.06, 25.15, -17.37)
CIE-LCHlch(8.06, 30.57, 325.37°)
OKLaboklab(21.84% 0.0683 -0.0483)
OKLCHoklch(21.84% 0.084 324.7)
XYZxyz(1.6277, 0.8928, 2.7754)
Luminance0.0089 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C072F #0A2F07
analogous
#18072F #2C072F #2F071E
triadic
#2C072F #2F2C07 #072F2C
tetradic
#2C072F #2F1807 #0A2F07 #071E2F
square
#2C072F #2F1807 #0A2F07 #071E2F
split-complementary
#2C072F #1E2F07 #072F18
monochromatic
#19041B #19041B #2C072F #5E0F64 #90179A

Accessibility & contrast

On white

17.82
#2C072F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C072F
17.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C072F#FFFFFF#000000##FFFFFF
##2C072F1.0017.821.1817.82
#FFFFFF17.821.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011530
Deuteranopia (green-blind)
#0F192E
Tritanopia (blue-blind)
#2D0D1A
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2c072f;
/* rgb */ color: rgb(44, 7, 47);
/* oklch */ color: oklch(21.8% 0.084 324.7);
Tailwind
colors: {
  custom: {
    50: '#674a67',
    500: '#2c072f',
    950: '#000000',
  },
}
SCSS
$custom: #2c072f;
$custom-light: #674a67;
$custom-dark: #000000;
JSON
{
  "hex": "#2c072f",
  "rgb": {
    "r": 44,
    "g": 7,
    "b": 47
  },
  "hsl": {
    "h": 295.5,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21839,
    "c": 0.08371,
    "h": 324.7
  },
  "luminance": 0.00893
}

Semantic roles & 50–950 ramp

primary
#2C072F
secondary
#296F23
accent
#F13745
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2C072F

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

Preview Lab → · Contrast checker → · Palette generator →

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