#2C0735#2C0735

#2C0735 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.3% C 0.090 H 318.9°. Best body text is #FFFFFF at 17.66:1 contrast (WCAG AA passes).

Color values

HEX#2C0735
RGBrgb(44, 7, 53)
HSLhsl(288, 77%, 12%)
HSVhsv(288, 87%, 21%)
CMYKcmyk(17%, 86.8%, 0%, 79.2%)
CIE-LABlab(8.52, 26.52, -21.05)
CIE-LCHlch(8.52, 33.86, 321.55°)
OKLaboklab(22.31% 0.0679 -0.0591)
OKLCHoklch(22.31% 0.09 318.9)
XYZxyz(1.7572, 0.9446, 3.4572)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0735 #103507
analogous
#150735 #2C0735 #350727
triadic
#2C0735 #352C07 #07352C
tetradic
#2C0735 #351507 #103507 #072735
square
#2C0735 #351507 #103507 #072735
split-complementary
#2C0735 #273507 #073515
monochromatic
#16041B #16041B #2C0735 #590E6B #8615A1

Accessibility & contrast

On white

17.66
#2C0735 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#2C0735 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0735
17.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0735#FFFFFF#000000##FFFFFF
##2C07351.0017.661.1917.66
#FFFFFF17.661.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001636
Deuteranopia (green-blind)
#0A1A34
Tritanopia (blue-blind)
#2C101D
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2c0735;
/* rgb */ color: rgb(44, 7, 53);
/* oklch */ color: oklch(22.3% 0.090 318.9);
Tailwind
colors: {
  custom: {
    50: '#674b6c',
    500: '#2c0735',
    950: '#000000',
  },
}
SCSS
$custom: #2c0735;
$custom-light: #674b6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0735",
  "rgb": {
    "r": 44,
    "g": 7,
    "b": 53
  },
  "hsl": {
    "h": 288.261,
    "s": 76.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22311,
    "c": 0.08999,
    "h": 318.9
  },
  "luminance": 0.00944
}

Semantic roles & 50–950 ramp

primary
#2C0735
secondary
#337523
accent
#F3355A
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2C0735

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

Preview Lab → · Contrast checker → · Palette generator →

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