#2D0F2C#2D0F2C

#2D0F2C is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.0% C 0.067 H 328.8°. Best body text is #FFFFFF at 17.27:1 contrast (WCAG AA passes).

Color values

HEX#2D0F2C
RGBrgb(45, 15, 44)
HSLhsl(302, 50%, 12%)
HSVhsv(302, 67%, 18%)
CMYKcmyk(0%, 66.7%, 2.2%, 82.4%)
CIE-LABlab(9.65, 20.38, -12.63)
CIE-LCHlch(9.65, 23.98, 328.23°)
OKLaboklab(22.97% 0.0572 -0.0347)
OKLCHoklch(22.97% 0.067 328.8)
XYZxyz(1.7076, 1.0815, 2.5012)
Luminance0.0108 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0F2C #0F2D10
analogous
#1F0F2D #2D0F2C #2D0F1D
triadic
#2D0F2C #2C2D0F #0F2C2D
tetradic
#2D0F2C #2D1F0F #0F2D10 #0F1D2D
square
#2D0F2C #2D1F0F #0F2D10 #0F1D2D
split-complementary
#2D0F2C #1D2D0F #0F2D1F
monochromatic
#170816 #170816 #2D0F2C #5B1E59 #892E86

Accessibility & contrast

On white

17.27
#2D0F2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0F2C
17.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0F2C#FFFFFF#000000##FFFFFF
##2D0F2C1.0017.271.2217.27
#FFFFFF17.271.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d0f2c;
/* rgb */ color: rgb(45, 15, 44);
/* oklch */ color: oklch(23.0% 0.067 328.8);
Tailwind
colors: {
  custom: {
    50: '#674f65',
    500: '#2d0f2c',
    950: '#000000',
  },
}
SCSS
$custom: #2d0f2c;
$custom-light: #674f65;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0f2c",
  "rgb": {
    "r": 45,
    "g": 15,
    "b": 44
  },
  "hsl": {
    "h": 302,
    "s": 50,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22965,
    "c": 0.06685,
    "h": 328.8
  },
  "luminance": 0.01081
}

Semantic roles & 50–950 ramp

primary
#2D0F2C
secondary
#316633
accent
#DA534E
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060205
muted
#7A787A

Preview Lab

Preview with #2D0F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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