#2D0D2E#2D0D2E

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

Color values

HEX#2D0D2E
RGBrgb(45, 13, 46)
HSLhsl(298, 56%, 12%)
HSVhsv(298, 72%, 18%)
CMYKcmyk(2.2%, 71.7%, 0%, 82%)
CIE-LABlab(9.35, 22.00, -14.59)
CIE-LCHlch(9.35, 26.40, 326.46°)
OKLaboklab(22.78% 0.0607 -0.0403)
OKLCHoklch(22.78% 0.073 326.4)
XYZxyz(1.7192, 1.0431, 2.6950)
Luminance0.0104 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0D2E #0E2E0D
analogous
#1D0D2E #2D0D2E #2E0D1F
triadic
#2D0D2E #2E2D0D #0D2E2D
tetradic
#2D0D2E #2E1D0D #0E2E0D #0D1F2E
square
#2D0D2E #2E1D0D #0E2E0D #0D1F2E
split-complementary
#2D0D2E #1F2E0D #0D2E1D
monochromatic
#170718 #170718 #2D0D2E #5C1A5E #8A288D

Accessibility & contrast

On white

17.38
#2D0D2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0D2E
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0D2E#FFFFFF#000000##FFFFFF
##2D0D2E1.0017.381.2117.38
#FFFFFF17.381.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09182F
Deuteranopia (green-blind)
#141C2D
Tritanopia (blue-blind)
#2E111B
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2d0d2e;
/* rgb */ color: rgb(45, 13, 46);
/* oklch */ color: oklch(22.8% 0.073 326.4);
Tailwind
colors: {
  custom: {
    50: '#674e67',
    500: '#2d0d2e',
    950: '#000000',
  },
}
SCSS
$custom: #2d0d2e;
$custom-light: #674e67;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0d2e",
  "rgb": {
    "r": 45,
    "g": 13,
    "b": 46
  },
  "hsl": {
    "h": 298.182,
    "s": 55.932,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22781,
    "c": 0.07289,
    "h": 326.4
  },
  "luminance": 0.01043
}

Semantic roles & 50–950 ramp

primary
#2D0D2E
secondary
#30692E
accent
#DF494D
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2D0D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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