#2C1836#2C1836

#2C1836 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 25.1% C 0.060 H 313.5°. Best body text is #FFFFFF at 16.27:1 contrast (WCAG AA passes).

Color values

HEX#2C1836
RGBrgb(44, 24, 54)
HSLhsl(280, 38%, 15%)
HSVhsv(280, 56%, 21%)
CMYKcmyk(18.5%, 55.6%, 0%, 78.8%)
CIE-LABlab(12.32, 16.68, -15.74)
CIE-LCHlch(12.32, 22.93, 316.67°)
OKLaboklab(25.1% 0.0415 -0.0437)
OKLCHoklch(25.1% 0.06 313.5)
XYZxyz(2.0311, 1.4551, 3.6632)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1836 #223618
analogous
#1D1836 #2C1836 #361831
triadic
#2C1836 #362C18 #18362C
tetradic
#2C1836 #361D18 #223618 #183136
square
#2C1836 #361D18 #223618 #183136
split-complementary
#2C1836 #313618 #18361D
monochromatic
#110915 #110915 #2C1836 #4F2B60 #713E8B

Accessibility & contrast

On white

16.27
#2C1836 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#2C1836 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1836
16.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1836#FFFFFF#000000##FFFFFF
##2C18361.0016.271.2916.27
#FFFFFF16.271.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121F37
Deuteranopia (green-blind)
#172135
Tritanopia (blue-blind)
#2B1D24
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #2c1836;
/* rgb */ color: rgb(44, 24, 54);
/* oklch */ color: oklch(25.1% 0.060 313.5);
Tailwind
colors: {
  custom: {
    50: '#66556d',
    500: '#2c1836',
    950: '#000000',
  },
}
SCSS
$custom: #2c1836;
$custom-light: #66556d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1836",
  "rgb": {
    "r": 44,
    "g": 24,
    "b": 54
  },
  "hsl": {
    "h": 280,
    "s": 38.462,
    "l": 15.294
  },
  "oklch": {
    "l": 0.25101,
    "c": 0.06032,
    "h": 313.5
  },
  "luminance": 0.01455
}

Semantic roles & 50–950 ramp

primary
#2C1836
secondary
#4D6C3E
accent
#CE5980
background
#F6F5F6
surface
#EBE8EB
border
#C6C4C6
text
#060307
muted
#7A787A

Preview Lab

Preview with #2C1836

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

Preview Lab → · Contrast checker → · Palette generator →

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