#2C0731#2C0731

#2C0731 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.0% C 0.086 H 322.7°. Best body text is #FFFFFF at 17.77:1 contrast (WCAG AA passes).

Color values

HEX#2C0731
RGBrgb(44, 7, 49)
HSLhsl(293, 75%, 11%)
HSVhsv(293, 86%, 19%)
CMYKcmyk(10.2%, 85.7%, 0%, 80.8%)
CIE-LABlab(8.21, 25.60, -18.61)
CIE-LCHlch(8.21, 31.65, 323.98°)
OKLaboklab(21.99% 0.0682 -0.052)
OKLCHoklch(21.99% 0.086 322.7)
XYZxyz(1.6690, 0.9093, 2.9927)
Luminance0.0091 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0731 #0C3107
analogous
#170731 #2C0731 #310721
triadic
#2C0731 #312C07 #07312C
tetradic
#2C0731 #311707 #0C3107 #072131
square
#2C0731 #311707 #0C3107 #072131
split-complementary
#2C0731 #213107 #073117
monochromatic
#18041B #18041B #2C0731 #5C0F67 #8C169C

Accessibility & contrast

On white

17.77
#2C0731 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0731
17.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0731#FFFFFF#000000##FFFFFF
##2C07311.0017.771.1817.77
#FFFFFF17.771.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c0731;
/* rgb */ color: rgb(44, 7, 49);
/* oklch */ color: oklch(22.0% 0.086 322.7);
Tailwind
colors: {
  custom: {
    50: '#674b69',
    500: '#2c0731',
    950: '#000000',
  },
}
SCSS
$custom: #2c0731;
$custom-light: #674b69;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0731",
  "rgb": {
    "r": 44,
    "g": 7,
    "b": 49
  },
  "hsl": {
    "h": 292.857,
    "s": 75,
    "l": 10.98
  },
  "oklch": {
    "l": 0.21992,
    "c": 0.08578,
    "h": 322.7
  },
  "luminance": 0.00909
}

Semantic roles & 50–950 ramp

primary
#2C0731
secondary
#2C7123
accent
#F2364D
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2C0731

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

Preview Lab → · Contrast checker → · Palette generator →

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