#2C0C35#2C0C35

#2C0C35 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.0% C 0.082 H 318.1°. Best body text is #FFFFFF at 17.34:1 contrast (WCAG AA passes).

Color values

HEX#2C0C35
RGBrgb(44, 12, 53)
HSLhsl(287, 63%, 13%)
HSVhsv(287, 77%, 21%)
CMYKcmyk(17%, 77.4%, 0%, 79.2%)
CIE-LABlab(9.45, 23.91, -19.57)
CIE-LCHlch(9.45, 30.90, 320.69°)
OKLaboklab(22.97% 0.061 -0.0548)
OKLCHoklch(22.97% 0.082 318.1)
XYZxyz(1.8127, 1.0555, 3.4757)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0C35 #15350C
analogous
#170C35 #2C0C35 #350C29
triadic
#2C0C35 #352C0C #0C352C
tetradic
#2C0C35 #35170C #15350C #0C2935
square
#2C0C35 #35170C #15350C #0C2935
split-complementary
#2C0C35 #29350C #0C3517
monochromatic
#150619 #150619 #2C0C35 #551767 #7F2399

Accessibility & contrast

On white

17.34
#2C0C35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2C0C35 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0C35
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0C35#FFFFFF#000000##FFFFFF
##2C0C351.0017.341.2117.34
#FFFFFF17.341.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011836
Deuteranopia (green-blind)
#0E1B34
Tritanopia (blue-blind)
#2C131F
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2c0c35;
/* rgb */ color: rgb(44, 12, 53);
/* oklch */ color: oklch(23.0% 0.082 318.1);
Tailwind
colors: {
  custom: {
    50: '#674d6c',
    500: '#2c0c35',
    950: '#000000',
  },
}
SCSS
$custom: #2c0c35;
$custom-light: #674d6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0c35",
  "rgb": {
    "r": 44,
    "g": 12,
    "b": 53
  },
  "hsl": {
    "h": 286.829,
    "s": 63.077,
    "l": 12.745
  },
  "oklch": {
    "l": 0.22972,
    "c": 0.08203,
    "h": 318.1
  },
  "luminance": 0.01055
}

Semantic roles & 50–950 ramp

primary
#2C0C35
secondary
#3B712C
accent
#E64266
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2C0C35

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

Preview Lab → · Contrast checker → · Palette generator →

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