#2D0B2E#2D0B2E

#2D0B2E is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.5% C 0.076 H 326.6°. Best body text is #FFFFFF at 17.52:1 contrast (WCAG AA passes).

Color values

HEX#2D0B2E
RGBrgb(45, 11, 46)
HSLhsl(298, 61%, 11%)
HSVhsv(298, 76%, 18%)
CMYKcmyk(2.2%, 76.1%, 0%, 82%)
CIE-LABlab(8.95, 23.10, -15.22)
CIE-LCHlch(8.95, 27.66, 326.63°)
OKLaboklab(22.49% 0.0638 -0.0421)
OKLCHoklch(22.49% 0.076 326.6)
XYZxyz(1.6950, 0.9946, 2.6869)
Luminance0.0099 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0B2E #0C2E0B
analogous
#1B0B2E #2D0B2E #2E0B1D
triadic
#2D0B2E #2E2D0B #0B2E2D
tetradic
#2D0B2E #2E1B0B #0C2E0B #0B1D2E
square
#2D0B2E #2E1B0B #0C2E0B #0B1D2E
split-complementary
#2D0B2E #1D2E0B #0B2E1B
monochromatic
#180619 #180619 #2D0B2E #5D175F #8E2391

Accessibility & contrast

On white

17.52
#2D0B2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0B2E
17.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0B2E#FFFFFF#000000##FFFFFF
##2D0B2E1.0017.521.2017.52
#FFFFFF17.521.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06172F
Deuteranopia (green-blind)
#131B2D
Tritanopia (blue-blind)
#2E101B
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2d0b2e;
/* rgb */ color: rgb(45, 11, 46);
/* oklch */ color: oklch(22.5% 0.076 326.6);
Tailwind
colors: {
  custom: {
    50: '#674d67',
    500: '#2d0b2e',
    950: '#000000',
  },
}
SCSS
$custom: #2d0b2e;
$custom-light: #674d67;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0b2e",
  "rgb": {
    "r": 45,
    "g": 11,
    "b": 46
  },
  "hsl": {
    "h": 298.286,
    "s": 61.404,
    "l": 11.176
  },
  "oklch": {
    "l": 0.22491,
    "c": 0.07645,
    "h": 326.6
  },
  "luminance": 0.00994
}

Semantic roles & 50–950 ramp

primary
#2D0B2E
secondary
#2C6A2A
accent
#E54348
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2D0B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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