#2C1037#2C1037

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

Color values

HEX#2C1037
RGBrgb(44, 16, 55)
HSLhsl(283, 55%, 14%)
HSVhsv(283, 71%, 22%)
CMYKcmyk(20%, 70.9%, 0%, 78.4%)
CIE-LABlab(10.42, 22.12, -19.46)
CIE-LCHlch(10.42, 29.46, 318.66°)
OKLaboklab(23.73% 0.0551 -0.0545)
OKLCHoklch(23.73% 0.077 315.3)
XYZxyz(1.9135, 1.1820, 3.7410)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1037 #1B3710
analogous
#191037 #2C1037 #37102F
triadic
#2C1037 #372C10 #10372C
tetradic
#2C1037 #371910 #1B3710 #102F37
square
#2C1037 #371910 #1B3710 #102F37
split-complementary
#2C1037 #2F3710 #103719
monochromatic
#130718 #130718 #2C1037 #521E66 #782C96

Accessibility & contrast

On white

16.98
#2C1037 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C1037
16.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1037#FFFFFF#000000##FFFFFF
##2C10371.0016.981.2416.98
#FFFFFF16.981.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051B38
Deuteranopia (green-blind)
#101D36
Tritanopia (blue-blind)
#2B1721
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2c1037;
/* rgb */ color: rgb(44, 16, 55);
/* oklch */ color: oklch(23.7% 0.077 315.3);
Tailwind
colors: {
  custom: {
    50: '#67506e',
    500: '#2c1037',
    950: '#000000',
  },
}
SCSS
$custom: #2c1037;
$custom-light: #67506e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1037",
  "rgb": {
    "r": 44,
    "g": 16,
    "b": 55
  },
  "hsl": {
    "h": 283.077,
    "s": 54.93,
    "l": 13.922
  },
  "oklch": {
    "l": 0.23727,
    "c": 0.07749,
    "h": 315.3
  },
  "luminance": 0.01182
}

Semantic roles & 50–950 ramp

primary
#2C1037
secondary
#447132
accent
#DE4A73
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060207
muted
#7A787A

Preview Lab

Preview with #2C1037

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

Preview Lab → · Contrast checker → · Palette generator →

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