#2D0B32#2D0B32

#2D0B32 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.8% C 0.081 H 322.3°. Best body text is #FFFFFF at 17.42:1 contrast (WCAG AA passes).

Color values

HEX#2D0B32
RGBrgb(45, 11, 50)
HSLhsl(292, 64%, 12%)
HSVhsv(292, 78%, 20%)
CMYKcmyk(10%, 78%, 0%, 80.4%)
CIE-LABlab(9.22, 24.01, -17.73)
CIE-LCHlch(9.22, 29.85, 323.56°)
OKLaboklab(22.78% 0.064 -0.0494)
OKLCHoklch(22.78% 0.081 322.3)
XYZxyz(1.7775, 1.0276, 3.1217)
Luminance0.0103 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0B32 #10320B
analogous
#1A0B32 #2D0B32 #320B24
triadic
#2D0B32 #322D0B #0B322D
tetradic
#2D0B32 #321A0B #10320B #0B2432
square
#2D0B32 #321A0B #10320B #0B2432
split-complementary
#2D0B32 #24320B #0B321A
monochromatic
#170619 #170619 #2D0B32 #5A1664 #872196

Accessibility & contrast

On white

17.42
#2D0B32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2D0B32 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D0B32
17.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0B32#FFFFFF#000000##FFFFFF
##2D0B321.0017.421.2117.42
#FFFFFF17.421.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031733
Deuteranopia (green-blind)
#101B31
Tritanopia (blue-blind)
#2E111D
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2d0b32;
/* rgb */ color: rgb(45, 11, 50);
/* oklch */ color: oklch(22.8% 0.081 322.3);
Tailwind
colors: {
  custom: {
    50: '#684d6a',
    500: '#2d0b32',
    950: '#000000',
  },
}
SCSS
$custom: #2d0b32;
$custom-light: #684d6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0b32",
  "rgb": {
    "r": 45,
    "g": 11,
    "b": 50
  },
  "hsl": {
    "h": 292.308,
    "s": 63.934,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22776,
    "c": 0.08082,
    "h": 322.3
  },
  "luminance": 0.01028
}

Semantic roles & 50–950 ramp

primary
#2D0B32
secondary
#336F2A
accent
#E74156
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2D0B32

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

Preview Lab → · Contrast checker → · Palette generator →

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