#2D0D2F#2D0D2F

#2D0D2F is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 22.8% C 0.074 H 325.3°. Best body text is #FFFFFF at 17.35:1 contrast (WCAG AA passes).

Color values

HEX#2D0D2F
RGBrgb(45, 13, 47)
HSLhsl(296, 57%, 12%)
HSVhsv(296, 72%, 18%)
CMYKcmyk(4.3%, 72.3%, 0%, 81.6%)
CIE-LABlab(9.41, 22.23, -15.22)
CIE-LCHlch(9.41, 26.94, 325.60°)
OKLaboklab(22.85% 0.0608 -0.0421)
OKLCHoklch(22.85% 0.074 325.3)
XYZxyz(1.7392, 1.0511, 2.8000)
Luminance0.0105 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0D2F #0F2F0D
analogous
#1C0D2F #2D0D2F #2F0D20
triadic
#2D0D2F #2F2D0D #0D2F2D
tetradic
#2D0D2F #2F1C0D #0F2F0D #0D202F
square
#2D0D2F #2F1C0D #0F2F0D #0D202F
split-complementary
#2D0D2F #202F0D #0D2F1C
monochromatic
#170718 #170718 #2D0D2F #5B1A5F #89288F

Accessibility & contrast

On white

17.35
#2D0D2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0D2F
17.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0D2F#FFFFFF#000000##FFFFFF
##2D0D2F1.0017.351.2117.35
#FFFFFF17.351.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081830
Deuteranopia (green-blind)
#131C2E
Tritanopia (blue-blind)
#2E121C
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2d0d2f;
/* rgb */ color: rgb(45, 13, 47);
/* oklch */ color: oklch(22.8% 0.074 325.3);
Tailwind
colors: {
  custom: {
    50: '#674e67',
    500: '#2d0d2f',
    950: '#000000',
  },
}
SCSS
$custom: #2d0d2f;
$custom-light: #674e67;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0d2f",
  "rgb": {
    "r": 45,
    "g": 13,
    "b": 47
  },
  "hsl": {
    "h": 296.471,
    "s": 56.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22848,
    "c": 0.074,
    "h": 325.3
  },
  "luminance": 0.01051
}

Semantic roles & 50–950 ramp

primary
#2D0D2F
secondary
#316A2E
accent
#E04851
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2D0D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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