#2C1136#2C1136

#2C1136 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.8% C 0.074 H 315.9°. Best body text is #FFFFFF at 16.93:1 contrast (WCAG AA passes).

Color values

HEX#2C1136
RGBrgb(44, 17, 54)
HSLhsl(284, 52%, 14%)
HSVhsv(284, 69%, 21%)
CMYKcmyk(18.5%, 68.5%, 0%, 78.8%)
CIE-LABlab(10.58, 21.25, -18.49)
CIE-LCHlch(10.58, 28.17, 318.98°)
OKLaboklab(23.82% 0.0534 -0.0517)
OKLCHoklch(23.82% 0.074 315.9)
XYZxyz(1.9049, 1.2028, 3.6211)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1136 #1B3611
analogous
#1A1136 #2C1136 #36112E
triadic
#2C1136 #362C11 #11362C
tetradic
#2C1136 #361A11 #1B3611 #112E36
square
#2C1136 #361A11 #1B3611 #112E36
split-complementary
#2C1136 #2E3611 #11361A
monochromatic
#130717 #130717 #2C1136 #522065 #782E93

Accessibility & contrast

On white

16.93
#2C1136 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#2C1136 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1136
16.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1136#FFFFFF#000000##FFFFFF
##2C11361.0016.931.2416.93
#FFFFFF16.931.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071B37
Deuteranopia (green-blind)
#111D35
Tritanopia (blue-blind)
#2B1721
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2c1136;
/* rgb */ color: rgb(44, 17, 54);
/* oklch */ color: oklch(23.8% 0.074 315.9);
Tailwind
colors: {
  custom: {
    50: '#66506d',
    500: '#2c1136',
    950: '#000000',
  },
}
SCSS
$custom: #2c1136;
$custom-light: #66506d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1136",
  "rgb": {
    "r": 44,
    "g": 17,
    "b": 54
  },
  "hsl": {
    "h": 283.784,
    "s": 52.113,
    "l": 13.922
  },
  "oklch": {
    "l": 0.23816,
    "c": 0.07436,
    "h": 315.9
  },
  "luminance": 0.01203
}

Semantic roles & 50–950 ramp

primary
#2C1136
secondary
#446F34
accent
#DC4C73
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060207
muted
#7A787A

Preview Lab

Preview with #2C1136

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

Preview Lab → · Contrast checker → · Palette generator →

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