#2D072E#2D072E

#2D072E is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.9% C 0.083 H 326.9°. Best body text is #FFFFFF at 17.78:1 contrast (WCAG AA passes).

Color values

HEX#2D072E
RGBrgb(45, 7, 46)
HSLhsl(298, 74%, 10%)
HSVhsv(298, 85%, 18%)
CMYKcmyk(2.2%, 84.8%, 0%, 82%)
CIE-LABlab(8.19, 25.22, -16.41)
CIE-LCHlch(8.19, 30.09, 326.95°)
OKLaboklab(21.95% 0.0698 -0.0455)
OKLCHoklch(21.95% 0.083 326.9)
XYZxyz(1.6513, 0.9072, 2.6724)
Luminance0.0091 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D072E #082E07
analogous
#19072E #2D072E #2E071B
triadic
#2D072E #2E2D07 #072E2D
tetradic
#2D072E #2E1907 #082E07 #071B2E
square
#2D072E #2E1907 #082E07 #071B2E
split-complementary
#2D072E #1B2E07 #072E19
monochromatic
#1A041B #1A041B #2D072E #610F63 #951798

Accessibility & contrast

On white

17.78
#2D072E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D072E
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D072E#FFFFFF#000000##FFFFFF
##2D072E1.0017.781.1817.78
#FFFFFF17.781.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02152F
Deuteranopia (green-blind)
#101A2D
Tritanopia (blue-blind)
#2F0D19
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2d072e;
/* rgb */ color: rgb(45, 7, 46);
/* oklch */ color: oklch(21.9% 0.083 326.9);
Tailwind
colors: {
  custom: {
    50: '#684b67',
    500: '#2d072e',
    950: '#000000',
  },
}
SCSS
$custom: #2d072e;
$custom-light: #684b67;
$custom-dark: #000000;
JSON
{
  "hex": "#2d072e",
  "rgb": {
    "r": 45,
    "g": 7,
    "b": 46
  },
  "hsl": {
    "h": 298.462,
    "s": 73.585,
    "l": 10.392
  },
  "oklch": {
    "l": 0.21948,
    "c": 0.08329,
    "h": 326.9
  },
  "luminance": 0.00907
}

Semantic roles & 50–950 ramp

primary
#2D072E
secondary
#256E23
accent
#F0383C
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2D072E

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

Preview Lab → · Contrast checker → · Palette generator →

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