#2D0B2C#2D0B2C

#2D0B2C is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.4% C 0.074 H 328.9°. Best body text is #FFFFFF at 17.56:1 contrast (WCAG AA passes).

Color values

HEX#2D0B2C
RGBrgb(45, 11, 44)
HSLhsl(302, 61%, 11%)
HSVhsv(302, 76%, 18%)
CMYKcmyk(0%, 75.6%, 2.2%, 82.4%)
CIE-LABlab(8.82, 22.66, -13.94)
CIE-LCHlch(8.82, 26.61, 328.41°)
OKLaboklab(22.36% 0.0636 -0.0384)
OKLCHoklch(22.36% 0.074 328.9)
XYZxyz(1.6565, 0.9792, 2.4841)
Luminance0.0098 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0B2C #0B2D0C
analogous
#1D0B2D #2D0B2C #2D0B1B
triadic
#2D0B2C #2C2D0B #0B2C2D
tetradic
#2D0B2C #2D1D0B #0B2D0C #0B1B2D
square
#2D0B2C #2D1D0B #0B2D0C #0B1B2D
split-complementary
#2D0B2C #1B2D0B #0B2D1D
monochromatic
#190618 #190618 #2D0B2C #5E175C #8F238C

Accessibility & contrast

On white

17.56
#2D0B2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0B2C
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0B2C#FFFFFF#000000##FFFFFF
##2D0B2C1.0017.561.2017.56
#FFFFFF17.561.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08162D
Deuteranopia (green-blind)
#141B2B
Tritanopia (blue-blind)
#2F0F1A
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2d0b2c;
/* rgb */ color: rgb(45, 11, 44);
/* oklch */ color: oklch(22.4% 0.074 328.9);
Tailwind
colors: {
  custom: {
    50: '#674d65',
    500: '#2d0b2c',
    950: '#000000',
  },
}
SCSS
$custom: #2d0b2c;
$custom-light: #674d65;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0b2c",
  "rgb": {
    "r": 45,
    "g": 11,
    "b": 44
  },
  "hsl": {
    "h": 301.765,
    "s": 60.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.22355,
    "c": 0.07432,
    "h": 328.9
  },
  "luminance": 0.00979
}

Semantic roles & 50–950 ramp

primary
#2D0B2C
secondary
#2A692C
accent
#E44944
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060105
muted
#7A777A

Preview Lab

Preview with #2D0B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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