#2D0F2D#2D0F2D

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

Color values

HEX#2D0F2D
RGBrgb(45, 15, 45)
HSLhsl(300, 50%, 12%)
HSVhsv(300, 67%, 18%)
CMYKcmyk(0%, 66.7%, 0%, 82.4%)
CIE-LABlab(9.71, 20.61, -13.27)
CIE-LCHlch(9.71, 24.51, 327.22°)
OKLaboklab(23.03% 0.0573 -0.0365)
OKLCHoklch(23.03% 0.068 327.5)
XYZxyz(1.7266, 1.0891, 2.6014)
Luminance0.0109 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0F2D #0F2D0F
analogous
#1E0F2D #2D0F2D #2D0F1E
triadic
#2D0F2D #2D2D0F #0F2D2D
tetradic
#2D0F2D #2D1E0F #0F2D0F #0F1E2D
square
#2D0F2D #2D1E0F #0F2D0F #0F1E2D
split-complementary
#2D0F2D #1E2D0F #0F2D1E
monochromatic
#170817 #170817 #2D0F2D #5B1E5B #892E89

Accessibility & contrast

On white

17.24
#2D0F2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0F2D
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0F2D#FFFFFF#000000##FFFFFF
##2D0F2D1.0017.241.2217.24
#FFFFFF17.241.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C182E
Deuteranopia (green-blind)
#161C2C
Tritanopia (blue-blind)
#2F121C
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2d0f2d;
/* rgb */ color: rgb(45, 15, 45);
/* oklch */ color: oklch(23.0% 0.068 327.5);
Tailwind
colors: {
  custom: {
    50: '#674f66',
    500: '#2d0f2d',
    950: '#000000',
  },
}
SCSS
$custom: #2d0f2d;
$custom-light: #674f66;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0f2d",
  "rgb": {
    "r": 45,
    "g": 15,
    "b": 45
  },
  "hsl": {
    "h": 300,
    "s": 50,
    "l": 11.765
  },
  "oklch": {
    "l": 0.23029,
    "c": 0.06797,
    "h": 327.5
  },
  "luminance": 0.01089
}

Semantic roles & 50–950 ramp

primary
#2D0F2D
secondary
#316631
accent
#DA4E4E
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060205
muted
#7A787A

Preview Lab

Preview with #2D0F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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