#2D0B2A#2D0B2A

#2D0B2A is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.2% C 0.072 H 331.3°. Best body text is #FFFFFF at 17.61:1 contrast (WCAG AA passes).

Color values

HEX#2D0B2A
RGBrgb(45, 11, 42)
HSLhsl(305, 61%, 11%)
HSVhsv(305, 76%, 18%)
CMYKcmyk(0%, 75.6%, 6.7%, 82.4%)
CIE-LABlab(8.69, 22.24, -12.64)
CIE-LCHlch(8.69, 25.58, 330.39°)
OKLaboklab(22.22% 0.0634 -0.0347)
OKLCHoklch(22.22% 0.072 331.3)
XYZxyz(1.6198, 0.9645, 2.2909)
Luminance0.0096 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0B2A #0B2D0E
analogous
#1F0B2D #2D0B2A #2D0B19
triadic
#2D0B2A #2A2D0B #0B2A2D
tetradic
#2D0B2A #2D1F0B #0B2D0E #0B192D
square
#2D0B2A #2D1F0B #0B2D0E #0B192D
split-complementary
#2D0B2A #192D0B #0B2D1F
monochromatic
#190617 #190617 #2D0B2A #5E1758 #8F2386

Accessibility & contrast

On white

17.61
#2D0B2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0B2A
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0B2A#FFFFFF#000000##FFFFFF
##2D0B2A1.0017.611.1917.61
#FFFFFF17.611.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09162B
Deuteranopia (green-blind)
#141B29
Tritanopia (blue-blind)
#2F0E19
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2d0b2a;
/* rgb */ color: rgb(45, 11, 42);
/* oklch */ color: oklch(22.2% 0.072 331.3);
Tailwind
colors: {
  custom: {
    50: '#674d63',
    500: '#2d0b2a',
    950: '#000000',
  },
}
SCSS
$custom: #2d0b2a;
$custom-light: #674d63;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0b2a",
  "rgb": {
    "r": 45,
    "g": 11,
    "b": 42
  },
  "hsl": {
    "h": 305.294,
    "s": 60.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.22223,
    "c": 0.07226,
    "h": 331.3
  },
  "luminance": 0.00964
}

Semantic roles & 50–950 ramp

primary
#2D0B2A
secondary
#2A6930
accent
#E45244
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060105
muted
#7A7779

Preview Lab

Preview with #2D0B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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