#2C0436#2C0436

#2C0436 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.0% C 0.096 H 318.6°. Best body text is #FFFFFF at 17.83:1 contrast (WCAG AA passes).

Color values

HEX#2C0436
RGBrgb(44, 4, 54)
HSLhsl(288, 86%, 11%)
HSVhsv(288, 93%, 21%)
CMYKcmyk(18.5%, 92.6%, 0%, 78.8%)
CIE-LABlab(8.03, 28.41, -22.58)
CIE-LCHlch(8.03, 36.29, 321.52°)
OKLaboklab(21.99% 0.072 -0.0635)
OKLCHoklch(21.99% 0.096 318.6)
XYZxyz(1.7479, 0.8887, 3.5688)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0436 #0E3604
analogous
#130436 #2C0436 #360427
triadic
#2C0436 #362C04 #04362C
tetradic
#2C0436 #361304 #0E3604 #042736
square
#2C0436 #361304 #0E3604 #042736
split-complementary
#2C0436 #273604 #043613
monochromatic
#17021C #17021C #2C0436 #5A086F #890CA8

Accessibility & contrast

On white

17.83
#2C0436 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0436
17.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0436#FFFFFF#000000##FFFFFF
##2C04361.0017.831.1817.83
#FFFFFF17.831.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001537
Deuteranopia (green-blind)
#061935
Tritanopia (blue-blind)
#2C0F1D
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2c0436;
/* rgb */ color: rgb(44, 4, 54);
/* oklch */ color: oklch(22.0% 0.096 318.6);
Tailwind
colors: {
  custom: {
    50: '#68496d',
    500: '#2c0436',
    950: '#000000',
  },
}
SCSS
$custom: #2c0436;
$custom-light: #68496d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0436",
  "rgb": {
    "r": 44,
    "g": 4,
    "b": 54
  },
  "hsl": {
    "h": 288,
    "s": 86.207,
    "l": 11.373
  },
  "oklch": {
    "l": 0.21989,
    "c": 0.09606,
    "h": 318.6
  },
  "luminance": 0.00889
}

Semantic roles & 50–950 ramp

primary
#2C0436
secondary
#30781E
accent
#FC2B55
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2C0436

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

Preview Lab → · Contrast checker → · Palette generator →

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