#2D0C2C#2D0C2C

#2D0C2C is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.5% C 0.073 H 328.9°. Best body text is #FFFFFF at 17.49:1 contrast (WCAG AA passes).

Color values

HEX#2D0C2C
RGBrgb(45, 12, 44)
HSLhsl(302, 58%, 11%)
HSVhsv(302, 73%, 18%)
CMYKcmyk(0%, 73.3%, 2.2%, 82.4%)
CIE-LABlab(9.01, 22.12, -13.63)
CIE-LCHlch(9.01, 25.98, 328.37°)
OKLaboklab(22.5% 0.0621 -0.0375)
OKLCHoklch(22.5% 0.073 328.9)
XYZxyz(1.6683, 1.0028, 2.4881)
Luminance0.0100 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0C2C #0C2D0D
analogous
#1D0C2D #2D0C2C #2D0C1B
triadic
#2D0C2C #2C2D0C #0C2C2D
tetradic
#2D0C2C #2D1D0C #0C2D0D #0C1B2D
square
#2D0C2C #2D1D0C #0C2D0D #0C1B2D
split-complementary
#2D0C2C #1B2D0C #0C2D1D
monochromatic
#180618 #180618 #2D0C2C #5D195B #8E268A

Accessibility & contrast

On white

17.49
#2D0C2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#2D0C2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D0C2C
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0C2C#FFFFFF#000000##FFFFFF
##2D0C2C1.0017.491.2017.49
#FFFFFF17.491.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09172D
Deuteranopia (green-blind)
#141B2B
Tritanopia (blue-blind)
#2F101A
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2d0c2c;
/* rgb */ color: rgb(45, 12, 44);
/* oklch */ color: oklch(22.5% 0.073 328.9);
Tailwind
colors: {
  custom: {
    50: '#674d65',
    500: '#2d0c2c',
    950: '#000000',
  },
}
SCSS
$custom: #2d0c2c;
$custom-light: #674d65;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0c2c",
  "rgb": {
    "r": 45,
    "g": 12,
    "b": 44
  },
  "hsl": {
    "h": 301.818,
    "s": 57.895,
    "l": 11.176
  },
  "oklch": {
    "l": 0.22498,
    "c": 0.07254,
    "h": 328.9
  },
  "luminance": 0.01003
}

Semantic roles & 50–950 ramp

primary
#2D0C2C
secondary
#2C692E
accent
#E14B47
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060105
muted
#7A777A

Preview Lab

Preview with #2D0C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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