#2D0831#2D0831

#2D0831 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.3% C 0.085 H 323.7°. Best body text is #FFFFFF at 17.64:1 contrast (WCAG AA passes).

Color values

HEX#2D0831
RGBrgb(45, 8, 49)
HSLhsl(294, 72%, 11%)
HSVhsv(294, 84%, 19%)
CMYKcmyk(8.2%, 83.7%, 0%, 80.8%)
CIE-LABlab(8.60, 25.33, -17.99)
CIE-LCHlch(8.60, 31.07, 324.62°)
OKLaboklab(22.31% 0.0682 -0.0501)
OKLCHoklch(22.31% 0.085 323.7)
XYZxyz(1.7233, 0.9534, 2.9984)
Luminance0.0095 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0831 #0C3108
analogous
#180831 #2D0831 #310820
triadic
#2D0831 #312D08 #08312D
tetradic
#2D0831 #311808 #0C3108 #082031
square
#2D0831 #311808 #0C3108 #082031
split-complementary
#2D0831 #203108 #083118
monochromatic
#18041A #18041A #2D0831 #5D1166 #8E199A

Accessibility & contrast

On white

17.64
#2D0831 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0831
17.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0831#FFFFFF#000000##FFFFFF
##2D08311.0017.641.1917.64
#FFFFFF17.641.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011632
Deuteranopia (green-blind)
#0F1A30
Tritanopia (blue-blind)
#2E0F1B
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2d0831;
/* rgb */ color: rgb(45, 8, 49);
/* oklch */ color: oklch(22.3% 0.085 323.7);
Tailwind
colors: {
  custom: {
    50: '#684b69',
    500: '#2d0831',
    950: '#000000',
  },
}
SCSS
$custom: #2d0831;
$custom-light: #684b69;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0831",
  "rgb": {
    "r": 45,
    "g": 8,
    "b": 49
  },
  "hsl": {
    "h": 294.146,
    "s": 71.93,
    "l": 11.176
  },
  "oklch": {
    "l": 0.22306,
    "c": 0.08464,
    "h": 323.7
  },
  "luminance": 0.00953
}

Semantic roles & 50–950 ramp

primary
#2D0831
secondary
#2C7025
accent
#EF394B
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2D0831

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

Preview Lab → · Contrast checker → · Palette generator →

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