#2D0C2F#2D0C2F

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

Color values

HEX#2D0C2F
RGBrgb(45, 12, 47)
HSLhsl(297, 59%, 12%)
HSVhsv(297, 74%, 18%)
CMYKcmyk(4.3%, 74.5%, 0%, 81.6%)
CIE-LABlab(9.21, 22.79, -15.54)
CIE-LCHlch(9.21, 27.58, 325.70°)
OKLaboklab(22.7% 0.0624 -0.043)
OKLCHoklch(22.7% 0.076 325.4)
XYZxyz(1.7267, 1.0262, 2.7959)
Luminance0.0103 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0C2F #0E2F0C
analogous
#1C0C2F #2D0C2F #2F0C20
triadic
#2D0C2F #2F2D0C #0C2F2D
tetradic
#2D0C2F #2F1C0C #0E2F0C #0C202F
square
#2D0C2F #2F1C0C #0E2F0C #0C202F
split-complementary
#2D0C2F #202F0C #0C2F1C
monochromatic
#170618 #170618 #2D0C2F #5C1860 #8A2591

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D0C2F#FFFFFF#000000##FFFFFF
##2D0C2F1.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)
#071730
Deuteranopia (green-blind)
#131B2E
Tritanopia (blue-blind)
#2E111C
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2d0c2f;
/* rgb */ color: rgb(45, 12, 47);
/* oklch */ color: oklch(22.7% 0.076 325.4);
Tailwind
colors: {
  custom: {
    50: '#674d67',
    500: '#2d0c2f',
    950: '#000000',
  },
}
SCSS
$custom: #2d0c2f;
$custom-light: #674d67;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0c2f",
  "rgb": {
    "r": 45,
    "g": 12,
    "b": 47
  },
  "hsl": {
    "h": 296.571,
    "s": 59.322,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22701,
    "c": 0.07579,
    "h": 325.4
  },
  "luminance": 0.01026
}

Semantic roles & 50–950 ramp

primary
#2D0C2F
secondary
#306B2C
accent
#E3454E
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2D0C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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