#2C0D31#2C0D31

#2C0D31 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.8% C 0.076 H 321.9°. Best body text is #FFFFFF at 17.37:1 contrast (WCAG AA passes).

Color values

HEX#2C0D31
RGBrgb(44, 13, 49)
HSLhsl(292, 58%, 12%)
HSVhsv(292, 73%, 19%)
CMYKcmyk(10.2%, 73.5%, 0%, 80.8%)
CIE-LABlab(9.36, 22.38, -16.78)
CIE-LCHlch(9.36, 27.97, 323.13°)
OKLaboklab(22.82% 0.0595 -0.0467)
OKLCHoklch(22.82% 0.076 321.9)
XYZxyz(1.7369, 1.0452, 3.0154)
Luminance0.0104 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0D31 #12310D
analogous
#1A0D31 #2C0D31 #310D24
triadic
#2C0D31 #312C0D #0D312C
tetradic
#2C0D31 #311A0D #12310D #0D2431
square
#2C0D31 #311A0D #12310D #0D2431
split-complementary
#2C0D31 #24310D #0D311A
monochromatic
#160618 #160618 #2C0D31 #571A61 #832792

Accessibility & contrast

On white

17.37
#2C0D31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0D31
17.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0D31#FFFFFF#000000##FFFFFF
##2C0D311.0017.371.2117.37
#FFFFFF17.371.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061832
Deuteranopia (green-blind)
#111B30
Tritanopia (blue-blind)
#2D131D
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2c0d31;
/* rgb */ color: rgb(44, 13, 49);
/* oklch */ color: oklch(22.8% 0.076 321.9);
Tailwind
colors: {
  custom: {
    50: '#674e69',
    500: '#2c0d31',
    950: '#000000',
  },
}
SCSS
$custom: #2c0d31;
$custom-light: #674e69;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0d31",
  "rgb": {
    "r": 44,
    "g": 13,
    "b": 49
  },
  "hsl": {
    "h": 291.667,
    "s": 58.065,
    "l": 12.157
  },
  "oklch": {
    "l": 0.2282,
    "c": 0.07564,
    "h": 321.9
  },
  "luminance": 0.01045
}

Semantic roles & 50–950 ramp

primary
#2C0D31
secondary
#366C2E
accent
#E1475C
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2C0D31

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

Preview Lab → · Contrast checker → · Palette generator →

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