#2C0631#2C0631

#2C0631 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.9% C 0.088 H 322.8°. Best body text is #FFFFFF at 17.84:1 contrast (WCAG AA passes).

Color values

HEX#2C0631
RGBrgb(44, 6, 49)
HSLhsl(293, 78%, 11%)
HSVhsv(293, 88%, 19%)
CMYKcmyk(10.2%, 87.8%, 0%, 80.8%)
CIE-LABlab(8.02, 26.15, -18.92)
CIE-LCHlch(8.02, 32.28, 324.11°)
OKLaboklab(21.85% 0.0698 -0.0529)
OKLCHoklch(21.85% 0.088 322.8)
XYZxyz(1.6582, 0.8876, 2.9891)
Luminance0.0089 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0631 #0B3106
analogous
#160631 #2C0631 #310620
triadic
#2C0631 #312C06 #06312C
tetradic
#2C0631 #311606 #0B3106 #062031
square
#2C0631 #311606 #0B3106 #062031
split-complementary
#2C0631 #203106 #063116
monochromatic
#18031B #18031B #2C0631 #5D0D68 #8E139E

Accessibility & contrast

On white

17.84
#2C0631 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#2C0631 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0631
17.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0631#FFFFFF#000000##FFFFFF
##2C06311.0017.841.1817.84
#FFFFFF17.841.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001532
Deuteranopia (green-blind)
#0C1930
Tritanopia (blue-blind)
#2D0E1B
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2c0631;
/* rgb */ color: rgb(44, 6, 49);
/* oklch */ color: oklch(21.9% 0.088 322.8);
Tailwind
colors: {
  custom: {
    50: '#674a69',
    500: '#2c0631',
    950: '#000000',
  },
}
SCSS
$custom: #2c0631;
$custom-light: #674a69;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0631",
  "rgb": {
    "r": 44,
    "g": 6,
    "b": 49
  },
  "hsl": {
    "h": 293.023,
    "s": 78.182,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21853,
    "c": 0.08752,
    "h": 322.8
  },
  "luminance": 0.00887
}

Semantic roles & 50–950 ramp

primary
#2C0631
secondary
#2B7221
accent
#F5334A
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2C0631

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

Preview Lab → · Contrast checker → · Palette generator →

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