#2C1337#2C1337

#2C1337 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.2% C 0.072 H 314.4°. Best body text is #FFFFFF at 16.73:1 contrast (WCAG AA passes).

Color values

HEX#2C1337
RGBrgb(44, 19, 55)
HSLhsl(282, 49%, 15%)
HSVhsv(282, 65%, 22%)
CMYKcmyk(20%, 65.5%, 0%, 78.4%)
CIE-LABlab(11.11, 20.27, -18.36)
CIE-LCHlch(11.11, 27.35, 317.82°)
OKLaboklab(24.23% 0.0503 -0.0513)
OKLCHoklch(24.23% 0.072 314.4)
XYZxyz(1.9611, 1.2771, 3.7569)
Luminance0.0128 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1337 #1E3713
analogous
#1A1337 #2C1337 #371330
triadic
#2C1337 #372C13 #13372C
tetradic
#2C1337 #371A13 #1E3713 #133037
square
#2C1337 #371A13 #1E3713 #133037
split-complementary
#2C1337 #303713 #13371A
monochromatic
#120817 #120817 #2C1337 #502364 #753292

Accessibility & contrast

On white

16.73
#2C1337 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#2C1337 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1337
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1337#FFFFFF#000000##FFFFFF
##2C13371.0016.731.2616.73
#FFFFFF16.731.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091C38
Deuteranopia (green-blind)
#121E36
Tritanopia (blue-blind)
#2B1922
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2c1337;
/* rgb */ color: rgb(44, 19, 55);
/* oklch */ color: oklch(24.2% 0.072 314.4);
Tailwind
colors: {
  custom: {
    50: '#66526e',
    500: '#2c1337',
    950: '#000000',
  },
}
SCSS
$custom: #2c1337;
$custom-light: #66526e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1337",
  "rgb": {
    "r": 44,
    "g": 19,
    "b": 55
  },
  "hsl": {
    "h": 281.667,
    "s": 48.649,
    "l": 14.51
  },
  "oklch": {
    "l": 0.24231,
    "c": 0.07184,
    "h": 314.4
  },
  "luminance": 0.01277
}

Semantic roles & 50–950 ramp

primary
#2C1337
secondary
#486F37
accent
#D85079
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060207
muted
#7A787A

Preview Lab

Preview with #2C1337

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

Preview Lab → · Contrast checker → · Palette generator →

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