#2C0732#2C0732

#2C0732 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.1% C 0.087 H 321.7°. Best body text is #FFFFFF at 17.74:1 contrast (WCAG AA passes).

Color values

HEX#2C0732
RGBrgb(44, 7, 50)
HSLhsl(292, 75%, 11%)
HSVhsv(292, 86%, 20%)
CMYKcmyk(12%, 86%, 0%, 80.4%)
CIE-LABlab(8.29, 25.82, -19.23)
CIE-LCHlch(8.29, 32.20, 323.33°)
OKLaboklab(22.07% 0.0682 -0.0538)
OKLCHoklch(22.07% 0.087 321.7)
XYZxyz(1.6903, 0.9178, 3.1051)
Luminance0.0092 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0732 #0D3207
analogous
#160732 #2C0732 #320722
triadic
#2C0732 #322C07 #07322C
tetradic
#2C0732 #321607 #0D3207 #072232
square
#2C0732 #321607 #0D3207 #072232
split-complementary
#2C0732 #223207 #073216
monochromatic
#18041B #18041B #2C0732 #5B0F68 #8A169D

Accessibility & contrast

On white

17.74
#2C0732 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0732
17.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0732#FFFFFF#000000##FFFFFF
##2C07321.0017.741.1817.74
#FFFFFF17.741.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001533
Deuteranopia (green-blind)
#0C1931
Tritanopia (blue-blind)
#2D0F1B
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2c0732;
/* rgb */ color: rgb(44, 7, 50);
/* oklch */ color: oklch(22.1% 0.087 321.7);
Tailwind
colors: {
  custom: {
    50: '#674b6a',
    500: '#2c0732',
    950: '#000000',
  },
}
SCSS
$custom: #2c0732;
$custom-light: #674b6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0732",
  "rgb": {
    "r": 44,
    "g": 7,
    "b": 50
  },
  "hsl": {
    "h": 291.628,
    "s": 75.439,
    "l": 11.176
  },
  "oklch": {
    "l": 0.2207,
    "c": 0.08682,
    "h": 321.7
  },
  "luminance": 0.00918
}

Semantic roles & 50–950 ramp

primary
#2C0732
secondary
#2E7223
accent
#F23650
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2C0732

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

Preview Lab → · Contrast checker → · Palette generator →

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