#2C0936#2C0936

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

Color values

HEX#2C0936
RGBrgb(44, 9, 54)
HSLhsl(287, 71%, 12%)
HSVhsv(287, 83%, 21%)
CMYKcmyk(18.5%, 83.3%, 0%, 78.8%)
CIE-LABlab(8.97, 25.70, -21.06)
CIE-LCHlch(8.97, 33.23, 320.67°)
OKLaboklab(22.66% 0.065 -0.0592)
OKLCHoklch(22.66% 0.088 317.7)
XYZxyz(1.8022, 0.9973, 3.5869)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0936 #133609
analogous
#160936 #2C0936 #36092A
triadic
#2C0936 #362C09 #09362C
tetradic
#2C0936 #361609 #133609 #092A36
square
#2C0936 #361609 #133609 #092A36
split-complementary
#2C0936 #2A3609 #093616
monochromatic
#15041A #15041A #2C0936 #57126A #811A9F

Accessibility & contrast

On white

17.51
#2C0936 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0936
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0936#FFFFFF#000000##FFFFFF
##2C09361.0017.511.2017.51
#FFFFFF17.511.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001737
Deuteranopia (green-blind)
#0B1A35
Tritanopia (blue-blind)
#2C121E
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2c0936;
/* rgb */ color: rgb(44, 9, 54);
/* oklch */ color: oklch(22.7% 0.088 317.7);
Tailwind
colors: {
  custom: {
    50: '#674c6d',
    500: '#2c0936',
    950: '#000000',
  },
}
SCSS
$custom: #2c0936;
$custom-light: #674c6d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0936",
  "rgb": {
    "r": 44,
    "g": 9,
    "b": 54
  },
  "hsl": {
    "h": 286.667,
    "s": 71.429,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22655,
    "c": 0.0879,
    "h": 317.7
  },
  "luminance": 0.00997
}

Semantic roles & 50–950 ramp

primary
#2C0936
secondary
#387427
accent
#EE3A62
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2C0936

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

Preview Lab → · Contrast checker → · Palette generator →

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