#2C0E2F#2C0E2F

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

Color values

HEX#2C0E2F
RGBrgb(44, 14, 47)
HSLhsl(295, 54%, 12%)
HSVhsv(295, 70%, 18%)
CMYKcmyk(6.4%, 70.2%, 0%, 81.6%)
CIE-LABlab(9.44, 21.33, -15.19)
CIE-LCHlch(9.44, 26.18, 324.55°)
OKLaboklab(22.83% 0.0578 -0.0421)
OKLCHoklch(22.83% 0.071 323.9)
XYZxyz(1.7088, 1.0549, 2.8024)
Luminance0.0106 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0E2F #112F0E
analogous
#1C0E2F #2C0E2F #2F0E22
triadic
#2C0E2F #2F2C0E #0E2F2C
tetradic
#2C0E2F #2F1C0E #112F0E #0E222F
square
#2C0E2F #2F1C0E #112F0E #0E222F
split-complementary
#2C0E2F #222F0E #0E2F1C
monochromatic
#160718 #160718 #2C0E2F #581C5E #842A8D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C0E2F#FFFFFF#000000##FFFFFF
##2C0E2F1.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)
#091830
Deuteranopia (green-blind)
#131C2E
Tritanopia (blue-blind)
#2D131C
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2c0e2f;
/* rgb */ color: rgb(44, 14, 47);
/* oklch */ color: oklch(22.8% 0.071 323.9);
Tailwind
colors: {
  custom: {
    50: '#664e67',
    500: '#2c0e2f',
    950: '#000000',
  },
}
SCSS
$custom: #2c0e2f;
$custom-light: #664e67;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0e2f",
  "rgb": {
    "r": 44,
    "g": 14,
    "b": 47
  },
  "hsl": {
    "h": 294.545,
    "s": 54.098,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22834,
    "c": 0.07147,
    "h": 323.9
  },
  "luminance": 0.01055
}

Semantic roles & 50–950 ramp

primary
#2C0E2F
secondary
#35692F
accent
#DD4A58
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2C0E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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