#2C0F29#2C0F29

#2C0F29 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.6% C 0.063 H 331.5°. Best body text is #FFFFFF at 17.39:1 contrast (WCAG AA passes).

Color values

HEX#2C0F29
RGBrgb(44, 15, 41)
HSLhsl(306, 49%, 12%)
HSVhsv(306, 66%, 17%)
CMYKcmyk(0%, 65.9%, 6.8%, 82.7%)
CIE-LABlab(9.30, 19.36, -10.96)
CIE-LCHlch(9.30, 22.25, 330.48°)
OKLaboklab(22.61% 0.0551 -0.0299)
OKLCHoklch(22.61% 0.063 331.5)
XYZxyz(1.6098, 1.0373, 2.2128)
Luminance0.0104 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0F29 #0F2C12
analogous
#210F2C #2C0F29 #2C0F1B
triadic
#2C0F29 #292C0F #0F292C
tetradic
#2C0F29 #2C210F #0F2C12 #0F1B2C
square
#2C0F29 #2C210F #0F2C12 #0F1B2C
split-complementary
#2C0F29 #1B2C0F #0F2C21
monochromatic
#170815 #170815 #2C0F29 #5A1F54 #872E7E

Accessibility & contrast

On white

17.39
#2C0F29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0F29
17.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0F29#FFFFFF#000000##FFFFFF
##2C0F291.0017.391.2117.39
#FFFFFF17.391.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E172A
Deuteranopia (green-blind)
#171C28
Tritanopia (blue-blind)
#2E111A
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2c0f29;
/* rgb */ color: rgb(44, 15, 41);
/* oklch */ color: oklch(22.6% 0.063 331.5);
Tailwind
colors: {
  custom: {
    50: '#664f62',
    500: '#2c0f29',
    950: '#000000',
  },
}
SCSS
$custom: #2c0f29;
$custom-light: #664f62;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0f29",
  "rgb": {
    "r": 44,
    "g": 15,
    "b": 41
  },
  "hsl": {
    "h": 306.207,
    "s": 49.153,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22611,
    "c": 0.06273,
    "h": 331.5
  },
  "luminance": 0.01037
}

Semantic roles & 50–950 ramp

primary
#2C0F29
secondary
#316537
accent
#D95D4F
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060205
muted
#7A7879

Preview Lab

Preview with #2C0F29

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

Preview Lab → · Contrast checker → · Palette generator →

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