#2D0F29#2D0F29

#2D0F29 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 22.8% C 0.064 H 332.8°. Best body text is #FFFFFF at 17.33:1 contrast (WCAG AA passes).

Color values

HEX#2D0F29
RGBrgb(45, 15, 41)
HSLhsl(308, 50%, 12%)
HSVhsv(308, 67%, 18%)
CMYKcmyk(0%, 66.7%, 8.9%, 82.4%)
CIE-LABlab(9.48, 19.72, -10.67)
CIE-LCHlch(9.48, 22.42, 331.60°)
OKLaboklab(22.78% 0.0566 -0.0291)
OKLCHoklch(22.78% 0.064 332.8)
XYZxyz(1.6532, 1.0597, 2.2149)
Luminance0.0106 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0F29 #0F2D13
analogous
#220F2D #2D0F29 #2D0F1A
triadic
#2D0F29 #292D0F #0F292D
tetradic
#2D0F29 #2D220F #0F2D13 #0F1A2D
square
#2D0F29 #2D220F #0F2D13 #0F1A2D
split-complementary
#2D0F29 #1A2D0F #0F2D22
monochromatic
#170815 #170815 #2D0F29 #5B1E53 #892E7D

Accessibility & contrast

On white

17.33
#2D0F29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0F29
17.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0F29#FFFFFF#000000##FFFFFF
##2D0F291.0017.331.2117.33
#FFFFFF17.331.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E182A
Deuteranopia (green-blind)
#171C28
Tritanopia (blue-blind)
#2F111A
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2d0f29;
/* rgb */ color: rgb(45, 15, 41);
/* oklch */ color: oklch(22.8% 0.064 332.8);
Tailwind
colors: {
  custom: {
    50: '#674f62',
    500: '#2d0f29',
    950: '#000000',
  },
}
SCSS
$custom: #2d0f29;
$custom-light: #674f62;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0f29",
  "rgb": {
    "r": 45,
    "g": 15,
    "b": 41
  },
  "hsl": {
    "h": 308,
    "s": 50,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22781,
    "c": 0.0636,
    "h": 332.8
  },
  "luminance": 0.0106
}

Semantic roles & 50–950 ramp

primary
#2D0F29
secondary
#316638
accent
#DA614E
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060205
muted
#7A7879

Preview Lab

Preview with #2D0F29

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

Preview Lab → · Contrast checker → · Palette generator →

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