#2D072B#2D072B

#2D072B is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.7% C 0.080 H 330.2°. Best body text is #FFFFFF at 17.85:1 contrast (WCAG AA passes).

Color values

HEX#2D072B
RGBrgb(45, 7, 43)
HSLhsl(303, 73%, 10%)
HSVhsv(303, 84%, 18%)
CMYKcmyk(0%, 84.4%, 4.4%, 82.4%)
CIE-LABlab(7.99, 24.59, -14.50)
CIE-LCHlch(7.99, 28.54, 329.48°)
OKLaboklab(21.73% 0.0697 -0.04)
OKLCHoklch(21.73% 0.08 330.2)
XYZxyz(1.5942, 0.8844, 2.3718)
Luminance0.0088 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D072B #072D09
analogous
#1C072D #2D072B #2D0718
triadic
#2D072B #2B2D07 #072B2D
tetradic
#2D072B #2D1C07 #072D09 #07182D
square
#2D072B #2D1C07 #072D09 #07182D
split-complementary
#2D072B #182D07 #072D1C
monochromatic
#1A0419 #1A0419 #2D072B #620F5E #971790

Accessibility & contrast

On white

17.85
#2D072B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#2D072B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D072B
17.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D072B#FFFFFF#000000##FFFFFF
##2D072B1.0017.851.1817.85
#FFFFFF17.851.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04142C
Deuteranopia (green-blind)
#12192A
Tritanopia (blue-blind)
#2F0B18
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2d072b;
/* rgb */ color: rgb(45, 7, 43);
/* oklch */ color: oklch(21.7% 0.080 330.2);
Tailwind
colors: {
  custom: {
    50: '#684a64',
    500: '#2d072b',
    950: '#000000',
  },
}
SCSS
$custom: #2d072b;
$custom-light: #684a64;
$custom-dark: #000000;
JSON
{
  "hex": "#2d072b",
  "rgb": {
    "r": 45,
    "g": 7,
    "b": 43
  },
  "hsl": {
    "h": 303.158,
    "s": 73.077,
    "l": 10.196
  },
  "oklch": {
    "l": 0.21734,
    "c": 0.08032,
    "h": 330.2
  },
  "luminance": 0.00884
}

Semantic roles & 50–950 ramp

primary
#2D072B
secondary
#236D27
accent
#F04238
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060105
muted
#7A777A

Preview Lab

Preview with #2D072B

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

Preview Lab → · Contrast checker → · Palette generator →

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