#2D0731#2D0731

#2D0731 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.2% C 0.086 H 323.8°. Best body text is #FFFFFF at 17.70:1 contrast (WCAG AA passes).

Color values

HEX#2D0731
RGBrgb(45, 7, 49)
HSLhsl(294, 75%, 11%)
HSVhsv(294, 86%, 19%)
CMYKcmyk(8.2%, 85.7%, 0%, 80.8%)
CIE-LABlab(8.41, 25.87, -18.29)
CIE-LCHlch(8.41, 31.68, 324.74°)
OKLaboklab(22.17% 0.0697 -0.051)
OKLCHoklch(22.17% 0.086 323.8)
XYZxyz(1.7125, 0.9317, 2.9948)
Luminance0.0093 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0731 #0B3107
analogous
#180731 #2D0731 #310720
triadic
#2D0731 #312D07 #07312D
tetradic
#2D0731 #311807 #0B3107 #072031
square
#2D0731 #311807 #0B3107 #072031
split-complementary
#2D0731 #203107 #073118
monochromatic
#19041B #19041B #2D0731 #5E0F67 #8F169C

Accessibility & contrast

On white

17.70
#2D0731 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#2D0731 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D0731
17.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0731#FFFFFF#000000##FFFFFF
##2D07311.0017.701.1917.70
#FFFFFF17.701.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001532
Deuteranopia (green-blind)
#0E1A30
Tritanopia (blue-blind)
#2E0E1B
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2d0731;
/* rgb */ color: rgb(45, 7, 49);
/* oklch */ color: oklch(22.2% 0.086 323.8);
Tailwind
colors: {
  custom: {
    50: '#684b69',
    500: '#2d0731',
    950: '#000000',
  },
}
SCSS
$custom: #2d0731;
$custom-light: #684b69;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0731",
  "rgb": {
    "r": 45,
    "g": 7,
    "b": 49
  },
  "hsl": {
    "h": 294.286,
    "s": 75,
    "l": 10.98
  },
  "oklch": {
    "l": 0.22171,
    "c": 0.08633,
    "h": 323.8
  },
  "luminance": 0.00932
}

Semantic roles & 50–950 ramp

primary
#2D0731
secondary
#2A7123
accent
#F23648
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2D0731

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

Preview Lab → · Contrast checker → · Palette generator →

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