#2D0D2C#2D0D2C

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

Color values

HEX#2D0D2C
RGBrgb(45, 13, 44)
HSLhsl(302, 55%, 11%)
HSVhsv(302, 71%, 18%)
CMYKcmyk(0%, 71.1%, 2.2%, 82.4%)
CIE-LABlab(9.22, 21.56, -13.30)
CIE-LCHlch(9.22, 25.33, 328.32°)
OKLaboklab(22.65% 0.0605 -0.0366)
OKLCHoklch(22.65% 0.071 328.8)
XYZxyz(1.6807, 1.0277, 2.4922)
Luminance0.0103 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0D2C #0D2D0E
analogous
#1E0D2D #2D0D2C #2D0D1C
triadic
#2D0D2C #2C2D0D #0D2C2D
tetradic
#2D0D2C #2D1E0D #0D2D0E #0D1C2D
square
#2D0D2C #2D1E0D #0D2D0E #0D1C2D
split-complementary
#2D0D2C #1C2D0D #0D2D1E
monochromatic
#180717 #180717 #2D0D2C #5C1B5A #8C2889

Accessibility & contrast

On white

17.42
#2D0D2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0D2C
17.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0D2C#FFFFFF#000000##FFFFFF
##2D0D2C1.0017.421.2117.42
#FFFFFF17.421.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A172D
Deuteranopia (green-blind)
#151B2B
Tritanopia (blue-blind)
#2F111A
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2d0d2c;
/* rgb */ color: rgb(45, 13, 44);
/* oklch */ color: oklch(22.6% 0.071 328.8);
Tailwind
colors: {
  custom: {
    50: '#674e65',
    500: '#2d0d2c',
    950: '#000000',
  },
}
SCSS
$custom: #2d0d2c;
$custom-light: #674e65;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0d2c",
  "rgb": {
    "r": 45,
    "g": 13,
    "b": 44
  },
  "hsl": {
    "h": 301.875,
    "s": 55.172,
    "l": 11.373
  },
  "oklch": {
    "l": 0.22648,
    "c": 0.0707,
    "h": 328.8
  },
  "luminance": 0.01028
}

Semantic roles & 50–950 ramp

primary
#2D0D2C
secondary
#2E6830
accent
#DF4E49
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060105
muted
#7A777A

Preview Lab

Preview with #2D0D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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