#2D0431#2D0431

#2D0431 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.8% C 0.092 H 324.1°. Best body text is #FFFFFF at 17.90:1 contrast (WCAG AA passes).

Color values

HEX#2D0431
RGBrgb(45, 4, 49)
HSLhsl(295, 85%, 10%)
HSVhsv(295, 92%, 19%)
CMYKcmyk(8.2%, 91.8%, 0%, 80.8%)
CIE-LABlab(7.83, 27.54, -19.22)
CIE-LCHlch(7.83, 33.58, 325.09°)
OKLaboklab(21.76% 0.0743 -0.0537)
OKLCHoklch(21.76% 0.092 324.1)
XYZxyz(1.6799, 0.8666, 2.9839)
Luminance0.0087 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0431 #083104
analogous
#160431 #2D0431 #31041E
triadic
#2D0431 #312D04 #04312D
tetradic
#2D0431 #311604 #083104 #041E31
square
#2D0431 #311604 #083104 #041E31
split-complementary
#2D0431 #1E3104 #043116
monochromatic
#1A021C #1A021C #2D0431 #61096A #950DA2

Accessibility & contrast

On white

17.90
#2D0431 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#2D0431 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D0431
17.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0431#FFFFFF#000000##FFFFFF
##2D04311.0017.901.1717.90
#FFFFFF17.901.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001432
Deuteranopia (green-blind)
#0C1930
Tritanopia (blue-blind)
#2E0C1A
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2d0431;
/* rgb */ color: rgb(45, 4, 49);
/* oklch */ color: oklch(21.8% 0.092 324.1);
Tailwind
colors: {
  custom: {
    50: '#684969',
    500: '#2d0431',
    950: '#000000',
  },
}
SCSS
$custom: #2d0431;
$custom-light: #684969;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0431",
  "rgb": {
    "r": 45,
    "g": 4,
    "b": 49
  },
  "hsl": {
    "h": 294.667,
    "s": 84.906,
    "l": 10.392
  },
  "oklch": {
    "l": 0.21757,
    "c": 0.09162,
    "h": 324.1
  },
  "luminance": 0.00866
}

Semantic roles & 50–950 ramp

primary
#2D0431
secondary
#25731D
accent
#FB2D3F
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2D0431

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

Preview Lab → · Contrast checker → · Palette generator →

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