#2D0836#2D0836

#2D0836 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.7% C 0.090 H 319.0°. Best body text is #FFFFFF at 17.51:1 contrast (WCAG AA passes).

Color values

HEX#2D0836
RGBrgb(45, 8, 54)
HSLhsl(288, 74%, 12%)
HSVhsv(288, 85%, 21%)
CMYKcmyk(16.7%, 85.2%, 0%, 78.8%)
CIE-LABlab(8.97, 26.48, -21.04)
CIE-LCHlch(8.97, 33.82, 321.52°)
OKLaboklab(22.7% 0.0678 -0.059)
OKLCHoklch(22.7% 0.09 319)
XYZxyz(1.8348, 0.9980, 3.5853)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0836 #113608
analogous
#160836 #2D0836 #360828
triadic
#2D0836 #362D08 #08362D
tetradic
#2D0836 #361608 #113608 #082836
square
#2D0836 #361608 #113608 #082836
split-complementary
#2D0836 #283608 #083616
monochromatic
#16041B #16041B #2D0836 #59106B #8618A1

Accessibility & contrast

On white

17.51
#2D0836 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#2D0836 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D0836
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0836#FFFFFF#000000##FFFFFF
##2D08361.0017.511.2017.51
#FFFFFF17.511.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001737
Deuteranopia (green-blind)
#0B1B35
Tritanopia (blue-blind)
#2D111E
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2d0836;
/* rgb */ color: rgb(45, 8, 54);
/* oklch */ color: oklch(22.7% 0.090 319.0);
Tailwind
colors: {
  custom: {
    50: '#684c6d',
    500: '#2d0836',
    950: '#000000',
  },
}
SCSS
$custom: #2d0836;
$custom-light: #684c6d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0836",
  "rgb": {
    "r": 45,
    "g": 8,
    "b": 54
  },
  "hsl": {
    "h": 288.261,
    "s": 74.194,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22697,
    "c": 0.08995,
    "h": 319
  },
  "luminance": 0.00998
}

Semantic roles & 50–950 ramp

primary
#2D0836
secondary
#357525
accent
#F1375B
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2D0836

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

Preview Lab → · Contrast checker → · Palette generator →

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