#2D1029#2D1029

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

Color values

HEX#2D1029
RGBrgb(45, 16, 41)
HSLhsl(308, 48%, 12%)
HSVhsv(308, 64%, 18%)
CMYKcmyk(0%, 64.4%, 8.9%, 82.4%)
CIE-LABlab(9.71, 19.11, -10.31)
CIE-LCHlch(9.71, 21.71, 331.65°)
OKLaboklab(22.95% 0.0548 -0.028)
OKLCHoklch(22.95% 0.062 332.9)
XYZxyz(1.6677, 1.0887, 2.2197)
Luminance0.0109 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1029 #102D14
analogous
#23102D #2D1029 #2D101B
triadic
#2D1029 #292D10 #10292D
tetradic
#2D1029 #2D2310 #102D14 #101B2D
square
#2D1029 #2D2310 #102D14 #101B2D
split-complementary
#2D1029 #1B2D10 #102D23
monochromatic
#170815 #170815 #2D1029 #5A2052 #87307B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D1029#FFFFFF#000000##FFFFFF
##2D10291.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)
#0F182A
Deuteranopia (green-blind)
#181C28
Tritanopia (blue-blind)
#2F121A
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2d1029;
/* rgb */ color: rgb(45, 16, 41);
/* oklch */ color: oklch(23.0% 0.062 332.9);
Tailwind
colors: {
  custom: {
    50: '#674f62',
    500: '#2d1029',
    950: '#000000',
  },
}
SCSS
$custom: #2d1029;
$custom-light: #674f62;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1029",
  "rgb": {
    "r": 45,
    "g": 16,
    "b": 41
  },
  "hsl": {
    "h": 308.276,
    "s": 47.541,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22951,
    "c": 0.06155,
    "h": 332.9
  },
  "luminance": 0.01089
}

Semantic roles & 50–950 ramp

primary
#2D1029
secondary
#33663A
accent
#D76351
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060205
muted
#7A7879

Preview Lab

Preview with #2D1029

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

Preview Lab → · Contrast checker → · Palette generator →

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