#2D0F2E#2D0F2E

#2D0F2E is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.1% C 0.069 H 326.3°. Best body text is #FFFFFF at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#2D0F2E
RGBrgb(45, 15, 46)
HSLhsl(298, 51%, 12%)
HSVhsv(298, 67%, 18%)
CMYKcmyk(2.2%, 67.4%, 0%, 82%)
CIE-LABlab(9.77, 20.84, -13.91)
CIE-LCHlch(9.77, 25.05, 326.27°)
OKLaboklab(23.09% 0.0575 -0.0384)
OKLCHoklch(23.09% 0.069 326.3)
XYZxyz(1.7461, 1.0969, 2.7040)
Luminance0.0110 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0F2E #102E0F
analogous
#1E0F2E #2D0F2E #2E0F20
triadic
#2D0F2E #2E2D0F #0F2E2D
tetradic
#2D0F2E #2E1E0F #102E0F #0F202E
square
#2D0F2E #2E1E0F #102E0F #0F202E
split-complementary
#2D0F2E #202E0F #0F2E1E
monochromatic
#170817 #170817 #2D0F2E #5A1E5C #872D8A

Accessibility & contrast

On white

17.22
#2D0F2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#2D0F2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D0F2E
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0F2E#FFFFFF#000000##FFFFFF
##2D0F2E1.0017.221.2217.22
#FFFFFF17.221.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B192F
Deuteranopia (green-blind)
#151C2D
Tritanopia (blue-blind)
#2E131C
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2d0f2e;
/* rgb */ color: rgb(45, 15, 46);
/* oklch */ color: oklch(23.1% 0.069 326.3);
Tailwind
colors: {
  custom: {
    50: '#674f67',
    500: '#2d0f2e',
    950: '#000000',
  },
}
SCSS
$custom: #2d0f2e;
$custom-light: #674f67;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0f2e",
  "rgb": {
    "r": 45,
    "g": 15,
    "b": 46
  },
  "hsl": {
    "h": 298.065,
    "s": 50.82,
    "l": 11.961
  },
  "oklch": {
    "l": 0.23094,
    "c": 0.0691,
    "h": 326.3
  },
  "luminance": 0.01097
}

Semantic roles & 50–950 ramp

primary
#2D0F2E
secondary
#336831
accent
#DA4D52
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2D0F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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