#2C0728#2C0728

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

Color values

HEX#2C0728
RGBrgb(44, 7, 40)
HSLhsl(306, 73%, 10%)
HSVhsv(306, 84%, 17%)
CMYKcmyk(0%, 84.1%, 9.1%, 82.7%)
CIE-LABlab(7.59, 23.65, -12.87)
CIE-LCHlch(7.59, 26.93, 331.44°)
OKLaboklab(21.34% 0.0681 -0.0353)
OKLCHoklch(21.34% 0.077 332.6)
XYZxyz(1.4977, 0.8408, 2.0905)
Luminance0.0084 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0728 #072C0B
analogous
#1D072C #2C0728 #2C0716
triadic
#2C0728 #282C07 #07282C
tetradic
#2C0728 #2C1D07 #072C0B #07162C
square
#2C0728 #2C1D07 #072C0B #07162C
split-complementary
#2C0728 #162C07 #072C1D
monochromatic
#1A0418 #1A0418 #2C0728 #610F58 #961888

Accessibility & contrast

On white

17.98
#2C0728 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0728
17.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0728#FFFFFF#000000##FFFFFF
##2C07281.0017.981.1717.98
#FFFFFF17.981.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061329
Deuteranopia (green-blind)
#121927
Tritanopia (blue-blind)
#2E0A16
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2c0728;
/* rgb */ color: rgb(44, 7, 40);
/* oklch */ color: oklch(21.3% 0.077 332.6);
Tailwind
colors: {
  custom: {
    50: '#674a62',
    500: '#2c0728',
    950: '#000000',
  },
}
SCSS
$custom: #2c0728;
$custom-light: #674a62;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0728",
  "rgb": {
    "r": 44,
    "g": 7,
    "b": 40
  },
  "hsl": {
    "h": 306.486,
    "s": 72.549,
    "l": 10
  },
  "oklch": {
    "l": 0.21342,
    "c": 0.07673,
    "h": 332.6
  },
  "luminance": 0.00841
}

Semantic roles & 50–950 ramp

primary
#2C0728
secondary
#236C2B
accent
#EF4C39
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060105
muted
#7A7779

Preview Lab

Preview with #2C0728

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

Preview Lab → · Contrast checker → · Palette generator →

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