#2D0F2F#2D0F2F

#2D0F2F is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.2% C 0.070 H 325.1°. Best body text is #FFFFFF at 17.20:1 contrast (WCAG AA passes).

Color values

HEX#2D0F2F
RGBrgb(45, 15, 47)
HSLhsl(296, 52%, 12%)
HSVhsv(296, 68%, 18%)
CMYKcmyk(4.3%, 68.1%, 0%, 81.6%)
CIE-LABlab(9.84, 21.07, -14.55)
CIE-LCHlch(9.84, 25.61, 325.37°)
OKLaboklab(23.16% 0.0576 -0.0402)
OKLCHoklch(23.16% 0.07 325.1)
XYZxyz(1.7661, 1.1049, 2.8090)
Luminance0.0111 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0F2F #112F0F
analogous
#1D0F2F #2D0F2F #2F0F21
triadic
#2D0F2F #2F2D0F #0F2F2D
tetradic
#2D0F2F #2F1D0F #112F0F #0F212F
square
#2D0F2F #2F1D0F #112F0F #0F212F
split-complementary
#2D0F2F #212F0F #0F2F1D
monochromatic
#160717 #160717 #2D0F2F #591E5D #862D8C

Accessibility & contrast

On white

17.20
#2D0F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0F2F
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0F2F#FFFFFF#000000##FFFFFF
##2D0F2F1.0017.201.2217.20
#FFFFFF17.201.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B1930
Deuteranopia (green-blind)
#151C2E
Tritanopia (blue-blind)
#2E131D
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2d0f2f;
/* rgb */ color: rgb(45, 15, 47);
/* oklch */ color: oklch(23.2% 0.070 325.1);
Tailwind
colors: {
  custom: {
    50: '#674f67',
    500: '#2d0f2f',
    950: '#000000',
  },
}
SCSS
$custom: #2d0f2f;
$custom-light: #674f67;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0f2f",
  "rgb": {
    "r": 45,
    "g": 15,
    "b": 47
  },
  "hsl": {
    "h": 296.25,
    "s": 51.613,
    "l": 12.157
  },
  "oklch": {
    "l": 0.2316,
    "c": 0.07025,
    "h": 325.1
  },
  "luminance": 0.01105
}

Semantic roles & 50–950 ramp

primary
#2D0F2F
secondary
#356931
accent
#DB4D56
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2D0F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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