#2D0F2B#2D0F2B

#2D0F2B is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 22.9% C 0.066 H 330.1°. Best body text is #FFFFFF at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#2D0F2B
RGBrgb(45, 15, 43)
HSLhsl(304, 50%, 12%)
HSVhsv(304, 67%, 18%)
CMYKcmyk(0%, 66.7%, 4.4%, 82.4%)
CIE-LABlab(9.59, 20.16, -11.98)
CIE-LCHlch(9.59, 23.45, 329.29°)
OKLaboklab(22.9% 0.057 -0.0328)
OKLCHoklch(22.9% 0.066 330.1)
XYZxyz(1.6890, 1.0741, 2.4034)
Luminance0.0107 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0F2B #0F2D11
analogous
#200F2D #2D0F2B #2D0F1C
triadic
#2D0F2B #2B2D0F #0F2B2D
tetradic
#2D0F2B #2D200F #0F2D11 #0F1C2D
square
#2D0F2B #2D200F #0F2D11 #0F1C2D
split-complementary
#2D0F2B #1C2D0F #0F2D20
monochromatic
#170816 #170816 #2D0F2B #5B1E57 #892E83

Accessibility & contrast

On white

17.29
#2D0F2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0F2B
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0F2B#FFFFFF#000000##FFFFFF
##2D0F2B1.0017.291.2117.29
#FFFFFF17.291.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D182C
Deuteranopia (green-blind)
#161C2A
Tritanopia (blue-blind)
#2F121B
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2d0f2b;
/* rgb */ color: rgb(45, 15, 43);
/* oklch */ color: oklch(22.9% 0.066 330.1);
Tailwind
colors: {
  custom: {
    50: '#674f64',
    500: '#2d0f2b',
    950: '#000000',
  },
}
SCSS
$custom: #2d0f2b;
$custom-light: #674f64;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0f2b",
  "rgb": {
    "r": 45,
    "g": 15,
    "b": 43
  },
  "hsl": {
    "h": 304,
    "s": 50,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22903,
    "c": 0.06575,
    "h": 330.1
  },
  "luminance": 0.01074
}

Semantic roles & 50–950 ramp

primary
#2D0F2B
secondary
#316635
accent
#DA584E
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060205
muted
#7A787A

Preview Lab

Preview with #2D0F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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