#2C0D36#2C0D36

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

Color values

HEX#2C0D36
RGBrgb(44, 13, 54)
HSLhsl(285, 61%, 13%)
HSVhsv(285, 76%, 21%)
CMYKcmyk(18.5%, 75.9%, 0%, 78.8%)
CIE-LABlab(9.72, 23.61, -19.86)
CIE-LCHlch(9.72, 30.85, 319.92°)
OKLaboklab(23.19% 0.0596 -0.0557)
OKLCHoklch(23.19% 0.082 316.9)
XYZxyz(1.8484, 1.0897, 3.6023)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0D36 #17360D
analogous
#170D36 #2C0D36 #360D2B
triadic
#2C0D36 #362C0D #0D362C
tetradic
#2C0D36 #36170D #17360D #0D2B36
square
#2C0D36 #36170D #17360D #0D2B36
split-complementary
#2C0D36 #2B360D #0D3617
monochromatic
#140619 #140619 #2C0D36 #541967 #7C2599

Accessibility & contrast

On white

17.24
#2C0D36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#2C0D36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0D36
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0D36#FFFFFF#000000##FFFFFF
##2C0D361.0017.241.2217.24
#FFFFFF17.241.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021937
Deuteranopia (green-blind)
#0E1C35
Tritanopia (blue-blind)
#2C1420
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2c0d36;
/* rgb */ color: rgb(44, 13, 54);
/* oklch */ color: oklch(23.2% 0.082 316.9);
Tailwind
colors: {
  custom: {
    50: '#674e6d',
    500: '#2c0d36',
    950: '#000000',
  },
}
SCSS
$custom: #2c0d36;
$custom-light: #674e6d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0d36",
  "rgb": {
    "r": 44,
    "g": 13,
    "b": 54
  },
  "hsl": {
    "h": 285.366,
    "s": 61.194,
    "l": 13.137
  },
  "oklch": {
    "l": 0.23192,
    "c": 0.08153,
    "h": 316.9
  },
  "luminance": 0.0109
}

Semantic roles & 50–950 ramp

primary
#2C0D36
secondary
#3E712D
accent
#E4436B
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060207
muted
#7A787A

Preview Lab

Preview with #2C0D36

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

Preview Lab → · Contrast checker → · Palette generator →

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