#2D0C2D#2D0C2D

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

Color values

HEX#2D0C2D
RGBrgb(45, 12, 45)
HSLhsl(300, 58%, 11%)
HSVhsv(300, 73%, 18%)
CMYKcmyk(0%, 73.3%, 0%, 82.4%)
CIE-LABlab(9.08, 22.34, -14.27)
CIE-LCHlch(9.08, 26.51, 327.43°)
OKLaboklab(22.57% 0.0622 -0.0394)
OKLCHoklch(22.57% 0.074 327.7)
XYZxyz(1.6873, 1.0104, 2.5883)
Luminance0.0101 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0C2D #0C2D0C
analogous
#1C0C2D #2D0C2D #2D0C1C
triadic
#2D0C2D #2D2D0C #0C2D2D
tetradic
#2D0C2D #2D1C0C #0C2D0C #0C1C2D
square
#2D0C2D #2D1C0C #0C2D0C #0C1C2D
split-complementary
#2D0C2D #1C2D0C #0C2D1C
monochromatic
#180618 #180618 #2D0C2D #5D195D #8E268E

Accessibility & contrast

On white

17.47
#2D0C2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0C2D
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0C2D#FFFFFF#000000##FFFFFF
##2D0C2D1.0017.471.2017.47
#FFFFFF17.471.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08172E
Deuteranopia (green-blind)
#141B2C
Tritanopia (blue-blind)
#2F101A
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2d0c2d;
/* rgb */ color: rgb(45, 12, 45);
/* oklch */ color: oklch(22.6% 0.074 327.7);
Tailwind
colors: {
  custom: {
    50: '#674d66',
    500: '#2d0c2d',
    950: '#000000',
  },
}
SCSS
$custom: #2d0c2d;
$custom-light: #674d66;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0c2d",
  "rgb": {
    "r": 45,
    "g": 12,
    "b": 45
  },
  "hsl": {
    "h": 300,
    "s": 57.895,
    "l": 11.176
  },
  "oklch": {
    "l": 0.22565,
    "c": 0.07362,
    "h": 327.7
  },
  "luminance": 0.0101
}

Semantic roles & 50–950 ramp

primary
#2D0C2D
secondary
#2C692C
accent
#E14747
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2D0C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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