#2C0C32#2C0C32

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

Color values

HEX#2C0C32
RGBrgb(44, 12, 50)
HSLhsl(291, 61%, 12%)
HSVhsv(291, 76%, 20%)
CMYKcmyk(12%, 76%, 0%, 80.4%)
CIE-LABlab(9.23, 23.18, -17.73)
CIE-LCHlch(9.23, 29.18, 322.59°)
OKLaboklab(22.75% 0.0611 -0.0494)
OKLCHoklch(22.75% 0.079 321)
XYZxyz(1.7458, 1.0288, 3.1236)
Luminance0.0103 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0C32 #12320C
analogous
#190C32 #2C0C32 #320C25
triadic
#2C0C32 #322C0C #0C322C
tetradic
#2C0C32 #32190C #12320C #0C2532
square
#2C0C32 #32190C #12320C #0C2532
split-complementary
#2C0C32 #25320C #0C3219
monochromatic
#160619 #160619 #2C0C32 #571863 #832495

Accessibility & contrast

On white

17.42
#2C0C32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2C0C32 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0C32
17.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0C32#FFFFFF#000000##FFFFFF
##2C0C321.0017.421.2117.42
#FFFFFF17.421.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041833
Deuteranopia (green-blind)
#101B31
Tritanopia (blue-blind)
#2C121D
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2c0c32;
/* rgb */ color: rgb(44, 12, 50);
/* oklch */ color: oklch(22.7% 0.079 321.0);
Tailwind
colors: {
  custom: {
    50: '#674d6a',
    500: '#2c0c32',
    950: '#000000',
  },
}
SCSS
$custom: #2c0c32;
$custom-light: #674d6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0c32",
  "rgb": {
    "r": 44,
    "g": 12,
    "b": 50
  },
  "hsl": {
    "h": 290.526,
    "s": 61.29,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22746,
    "c": 0.07855,
    "h": 321
  },
  "luminance": 0.01029
}

Semantic roles & 50–950 ramp

primary
#2C0C32
secondary
#366E2C
accent
#E4435D
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2C0C32

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

Preview Lab → · Contrast checker → · Palette generator →

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