#2C1036#2C1036

#2C1036 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.7% C 0.076 H 316.2°. Best body text is #FFFFFF at 17.01:1 contrast (WCAG AA passes).

Color values

HEX#2C1036
RGBrgb(44, 16, 54)
HSLhsl(284, 54%, 14%)
HSVhsv(284, 70%, 21%)
CMYKcmyk(18.5%, 70.4%, 0%, 78.8%)
CIE-LABlab(10.35, 21.86, -18.85)
CIE-LCHlch(10.35, 28.87, 319.23°)
OKLaboklab(23.65% 0.055 -0.0527)
OKLCHoklch(23.65% 0.076 316.2)
XYZxyz(1.8898, 1.1725, 3.6161)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1036 #1A3610
analogous
#191036 #2C1036 #36102D
triadic
#2C1036 #362C10 #10362C
tetradic
#2C1036 #361910 #1A3610 #102D36
square
#2C1036 #361910 #1A3610 #102D36
split-complementary
#2C1036 #2D3610 #103619
monochromatic
#130718 #130718 #2C1036 #521E65 #792C94

Accessibility & contrast

On white

17.01
#2C1036 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#2C1036 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1036
17.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1036#FFFFFF#000000##FFFFFF
##2C10361.0017.011.2317.01
#FFFFFF17.011.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061A37
Deuteranopia (green-blind)
#101D35
Tritanopia (blue-blind)
#2B1621
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2c1036;
/* rgb */ color: rgb(44, 16, 54);
/* oklch */ color: oklch(23.7% 0.076 316.2);
Tailwind
colors: {
  custom: {
    50: '#67506d',
    500: '#2c1036',
    950: '#000000',
  },
}
SCSS
$custom: #2c1036;
$custom-light: #67506d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1036",
  "rgb": {
    "r": 44,
    "g": 16,
    "b": 54
  },
  "hsl": {
    "h": 284.211,
    "s": 54.286,
    "l": 13.725
  },
  "oklch": {
    "l": 0.23652,
    "c": 0.07621,
    "h": 316.2
  },
  "luminance": 0.01172
}

Semantic roles & 50–950 ramp

primary
#2C1036
secondary
#427032
accent
#DE4A71
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060207
muted
#7A787A

Preview Lab

Preview with #2C1036

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

Preview Lab → · Contrast checker → · Palette generator →

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