#2C0726#2C0726

#2C0726 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.2% C 0.075 H 335.1°. Best body text is #FFFFFF at 18.02:1 contrast (WCAG AA passes).

Color values

HEX#2C0726
RGBrgb(44, 7, 38)
HSLhsl(310, 73%, 10%)
HSVhsv(310, 84%, 17%)
CMYKcmyk(0%, 84.1%, 13.6%, 82.7%)
CIE-LABlab(7.47, 23.24, -11.55)
CIE-LCHlch(7.47, 25.95, 333.58°)
OKLaboklab(21.21% 0.0679 -0.0316)
OKLCHoklch(21.21% 0.075 335.1)
XYZxyz(1.4646, 0.8275, 1.9159)
Luminance0.0083 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0726 #072C0D
analogous
#20072C #2C0726 #2C0713
triadic
#2C0726 #262C07 #07262C
tetradic
#2C0726 #2C2007 #072C0D #07132C
square
#2C0726 #2C2007 #072C0D #07132C
split-complementary
#2C0726 #132C07 #072C20
monochromatic
#1A0417 #1A0417 #2C0726 #610F54 #961881

Accessibility & contrast

On white

18.02
#2C0726 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#2C0726 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0726
18.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0726#FFFFFF#000000##FFFFFF
##2C07261.0018.021.1718.02
#FFFFFF18.021.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071327
Deuteranopia (green-blind)
#131825
Tritanopia (blue-blind)
#2F0915
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2c0726;
/* rgb */ color: rgb(44, 7, 38);
/* oklch */ color: oklch(21.2% 0.075 335.1);
Tailwind
colors: {
  custom: {
    50: '#674a60',
    500: '#2c0726',
    950: '#000000',
  },
}
SCSS
$custom: #2c0726;
$custom-light: #674a60;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0726",
  "rgb": {
    "r": 44,
    "g": 7,
    "b": 38
  },
  "hsl": {
    "h": 309.73,
    "s": 72.549,
    "l": 10
  },
  "oklch": {
    "l": 0.21211,
    "c": 0.07485,
    "h": 335.1
  },
  "luminance": 0.00827
}

Semantic roles & 50–950 ramp

primary
#2C0726
secondary
#236C2F
accent
#EF5639
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060105
muted
#7A7779

Preview Lab

Preview with #2C0726

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

Preview Lab → · Contrast checker → · Palette generator →

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