#2C073A#2C073A

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

Color values

HEX#2C073A
RGBrgb(44, 7, 58)
HSLhsl(284, 78%, 13%)
HSVhsv(284, 88%, 23%)
CMYKcmyk(24.1%, 87.9%, 0%, 77.3%)
CIE-LABlab(8.93, 27.71, -24.02)
CIE-LCHlch(8.93, 36.67, 319.08°)
OKLaboklab(22.73% 0.0671 -0.0678)
OKLCHoklch(22.73% 0.095 314.7)
XYZxyz(1.8783, 0.9930, 4.0949)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C073A #153A07
analogous
#12073A #2C073A #3A072F
triadic
#2C073A #3A2C07 #073A2C
tetradic
#2C073A #3A1207 #153A07 #072F3A
square
#2C073A #3A1207 #153A07 #072F3A
split-complementary
#2C073A #2F3A07 #073A12
monochromatic
#15031B #15031B #2C073A #550E71 #7F14A7

Accessibility & contrast

On white

17.52
#2C073A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C073A
17.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C073A#FFFFFF#000000##FFFFFF
##2C073A1.0017.521.2017.52
#FFFFFF17.521.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173B
Deuteranopia (green-blind)
#051A39
Tritanopia (blue-blind)
#2B1220
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2c073a;
/* rgb */ color: rgb(44, 7, 58);
/* oklch */ color: oklch(22.7% 0.095 314.7);
Tailwind
colors: {
  custom: {
    50: '#684b70',
    500: '#2c073a',
    950: '#000000',
  },
}
SCSS
$custom: #2c073a;
$custom-light: #684b70;
$custom-dark: #000000;
JSON
{
  "hex": "#2c073a",
  "rgb": {
    "r": 44,
    "g": 7,
    "b": 58
  },
  "hsl": {
    "h": 283.529,
    "s": 78.462,
    "l": 12.745
  },
  "oklch": {
    "l": 0.22733,
    "c": 0.09536,
    "h": 314.7
  },
  "luminance": 0.00993
}

Semantic roles & 50–950 ramp

primary
#2C073A
secondary
#3B7923
accent
#F53368
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2C073A

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

Preview Lab → · Contrast checker → · Palette generator →

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