#2D072F#2D072F

#2D072F is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.0% C 0.084 H 325.8°. Best body text is #FFFFFF at 17.75:1 contrast (WCAG AA passes).

Color values

HEX#2D072F
RGBrgb(45, 7, 47)
HSLhsl(297, 74%, 11%)
HSVhsv(297, 85%, 18%)
CMYKcmyk(4.3%, 85.1%, 0%, 81.6%)
CIE-LABlab(8.26, 25.43, -17.04)
CIE-LCHlch(8.26, 30.61, 326.18°)
OKLaboklab(22.02% 0.0697 -0.0474)
OKLCHoklch(22.02% 0.084 325.8)
XYZxyz(1.6712, 0.9152, 2.7774)
Luminance0.0092 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D072F #092F07
analogous
#19072F #2D072F #2F071D
triadic
#2D072F #2F2D07 #072F2D
tetradic
#2D072F #2F1907 #092F07 #071D2F
square
#2D072F #2F1907 #092F07 #071D2F
split-complementary
#2D072F #1D2F07 #072F19
monochromatic
#19041B #19041B #2D072F #600F64 #93179A

Accessibility & contrast

On white

17.75
#2D072F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D072F
17.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D072F#FFFFFF#000000##FFFFFF
##2D072F1.0017.751.1817.75
#FFFFFF17.751.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011530
Deuteranopia (green-blind)
#101A2E
Tritanopia (blue-blind)
#2E0D1A
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2d072f;
/* rgb */ color: rgb(45, 7, 47);
/* oklch */ color: oklch(22.0% 0.084 325.8);
Tailwind
colors: {
  custom: {
    50: '#684b67',
    500: '#2d072f',
    950: '#000000',
  },
}
SCSS
$custom: #2d072f;
$custom-light: #684b67;
$custom-dark: #000000;
JSON
{
  "hex": "#2d072f",
  "rgb": {
    "r": 45,
    "g": 7,
    "b": 47
  },
  "hsl": {
    "h": 297,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.22021,
    "c": 0.0843,
    "h": 325.8
  },
  "luminance": 0.00915
}

Semantic roles & 50–950 ramp

primary
#2D072F
secondary
#276F23
accent
#F13740
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2D072F

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

Preview Lab → · Contrast checker → · Palette generator →

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