#2D0B31#2D0B31

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

Color values

HEX#2D0B31
RGBrgb(45, 11, 49)
HSLhsl(294, 63%, 12%)
HSVhsv(294, 78%, 19%)
CMYKcmyk(8.2%, 77.6%, 0%, 80.8%)
CIE-LABlab(9.15, 23.78, -17.11)
CIE-LCHlch(9.15, 29.30, 324.27°)
OKLaboklab(22.7% 0.064 -0.0476)
OKLCHoklch(22.7% 0.08 323.3)
XYZxyz(1.7562, 1.0191, 3.0093)
Luminance0.0102 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0B31 #0F310B
analogous
#1A0B31 #2D0B31 #310B22
triadic
#2D0B31 #312D0B #0B312D
tetradic
#2D0B31 #311A0B #0F310B #0B2231
square
#2D0B31 #311A0B #0F310B #0B2231
split-complementary
#2D0B31 #22310B #0B311A
monochromatic
#170619 #170619 #2D0B31 #5B1663 #892195

Accessibility & contrast

On white

17.44
#2D0B31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0B31
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0B31#FFFFFF#000000##FFFFFF
##2D0B311.0017.441.2017.44
#FFFFFF17.441.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041732
Deuteranopia (green-blind)
#111B30
Tritanopia (blue-blind)
#2E111C
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2d0b31;
/* rgb */ color: rgb(45, 11, 49);
/* oklch */ color: oklch(22.7% 0.080 323.3);
Tailwind
colors: {
  custom: {
    50: '#684d69',
    500: '#2d0b31',
    950: '#000000',
  },
}
SCSS
$custom: #2d0b31;
$custom-light: #684d69;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0b31",
  "rgb": {
    "r": 45,
    "g": 11,
    "b": 49
  },
  "hsl": {
    "h": 293.684,
    "s": 63.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22703,
    "c": 0.07972,
    "h": 323.3
  },
  "luminance": 0.01019
}

Semantic roles & 50–950 ramp

primary
#2D0B31
secondary
#316E2A
accent
#E64153
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2D0B31

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

Preview Lab → · Contrast checker → · Palette generator →

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