#2C0835#2C0835

#2C0835 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.4% C 0.088 H 318.8°. Best body text is #FFFFFF at 17.60:1 contrast (WCAG AA passes).

Color values

HEX#2C0835
RGBrgb(44, 8, 53)
HSLhsl(288, 74%, 12%)
HSVhsv(288, 85%, 21%)
CMYKcmyk(17%, 84.9%, 0%, 79.2%)
CIE-LABlab(8.71, 25.98, -20.75)
CIE-LCHlch(8.71, 33.26, 321.39°)
OKLaboklab(22.44% 0.0665 -0.0582)
OKLCHoklch(22.44% 0.088 318.8)
XYZxyz(1.7681, 0.9663, 3.4608)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0835 #113508
analogous
#160835 #2C0835 #350828
triadic
#2C0835 #352C08 #08352C
tetradic
#2C0835 #351608 #113508 #082835
square
#2C0835 #351608 #113508 #082835
split-complementary
#2C0835 #283508 #083516
monochromatic
#16041B #16041B #2C0835 #58106A #84189F

Accessibility & contrast

On white

17.60
#2C0835 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0835
17.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0835#FFFFFF#000000##FFFFFF
##2C08351.0017.601.1917.60
#FFFFFF17.601.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001736
Deuteranopia (green-blind)
#0B1A34
Tritanopia (blue-blind)
#2C111D
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2c0835;
/* rgb */ color: rgb(44, 8, 53);
/* oklch */ color: oklch(22.4% 0.088 318.8);
Tailwind
colors: {
  custom: {
    50: '#674b6c',
    500: '#2c0835',
    950: '#000000',
  },
}
SCSS
$custom: #2c0835;
$custom-light: #674b6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0835",
  "rgb": {
    "r": 44,
    "g": 8,
    "b": 53
  },
  "hsl": {
    "h": 288,
    "s": 73.77,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22443,
    "c": 0.08838,
    "h": 318.8
  },
  "luminance": 0.00966
}

Semantic roles & 50–950 ramp

primary
#2C0835
secondary
#357425
accent
#F0375C
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2C0835

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

Preview Lab → · Contrast checker → · Palette generator →

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