#2C0937#2C0937

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

Color values

HEX#2C0937
RGBrgb(44, 9, 55)
HSLhsl(286, 72%, 13%)
HSVhsv(286, 84%, 22%)
CMYKcmyk(20%, 83.6%, 0%, 78.4%)
CIE-LABlab(9.05, 25.95, -21.66)
CIE-LCHlch(9.05, 33.80, 320.14°)
OKLaboklab(22.74% 0.0649 -0.0609)
OKLCHoklch(22.74% 0.089 316.8)
XYZxyz(1.8259, 1.0068, 3.7118)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0937 #143709
analogous
#150937 #2C0937 #37092B
triadic
#2C0937 #372C09 #09372C
tetradic
#2C0937 #371509 #143709 #092B37
square
#2C0937 #371509 #143709 #092B37
split-complementary
#2C0937 #2B3709 #093715
monochromatic
#15041A #15041A #2C0937 #56126C #801AA0

Accessibility & contrast

On white

17.48
#2C0937 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0937
17.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0937#FFFFFF#000000##FFFFFF
##2C09371.0017.481.2017.48
#FFFFFF17.481.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001738
Deuteranopia (green-blind)
#0A1B36
Tritanopia (blue-blind)
#2B121F
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2c0937;
/* rgb */ color: rgb(44, 9, 55);
/* oklch */ color: oklch(22.7% 0.089 316.8);
Tailwind
colors: {
  custom: {
    50: '#674c6e',
    500: '#2c0937',
    950: '#000000',
  },
}
SCSS
$custom: #2c0937;
$custom-light: #674c6e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0937",
  "rgb": {
    "r": 44,
    "g": 9,
    "b": 55
  },
  "hsl": {
    "h": 285.652,
    "s": 71.875,
    "l": 12.549
  },
  "oklch": {
    "l": 0.22736,
    "c": 0.08901,
    "h": 316.8
  },
  "luminance": 0.01007
}

Semantic roles & 50–950 ramp

primary
#2C0937
secondary
#397527
accent
#EF3965
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2C0937

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

Preview Lab → · Contrast checker → · Palette generator →

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