#2D1129#2D1129

#2D1129 is a very dark, muted purple. Relative luminance 0.011; OKLCH L 23.1% C 0.059 H 333.0°. Best body text is #FFFFFF at 17.16:1 contrast (WCAG AA passes).

Color values

HEX#2D1129
RGBrgb(45, 17, 41)
HSLhsl(309, 45%, 12%)
HSVhsv(309, 62%, 18%)
CMYKcmyk(0%, 62.2%, 8.9%, 82.4%)
CIE-LABlab(9.95, 18.48, -9.94)
CIE-LCHlch(9.95, 20.99, 331.73°)
OKLaboklab(23.13% 0.053 -0.027)
OKLCHoklch(23.13% 0.059 333)
XYZxyz(1.6829, 1.1190, 2.2247)
Luminance0.0112 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1129 #112D15
analogous
#23112D #2D1129 #2D111B
triadic
#2D1129 #292D11 #11292D
tetradic
#2D1129 #2D2311 #112D15 #111B2D
square
#2D1129 #2D2311 #112D15 #111B2D
split-complementary
#2D1129 #1B2D11 #112D23
monochromatic
#160814 #160814 #2D1129 #592251 #86337A

Accessibility & contrast

On white

17.16
#2D1129 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D1129
17.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1129#FFFFFF#000000##FFFFFF
##2D11291.0017.161.2217.16
#FFFFFF17.161.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10192A
Deuteranopia (green-blind)
#181D28
Tritanopia (blue-blind)
#2F131B
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2d1129;
/* rgb */ color: rgb(45, 17, 41);
/* oklch */ color: oklch(23.1% 0.059 333.0);
Tailwind
colors: {
  custom: {
    50: '#675062',
    500: '#2d1129',
    950: '#000000',
  },
}
SCSS
$custom: #2d1129;
$custom-light: #675062;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1129",
  "rgb": {
    "r": 45,
    "g": 17,
    "b": 41
  },
  "hsl": {
    "h": 308.571,
    "s": 45.161,
    "l": 12.157
  },
  "oklch": {
    "l": 0.23126,
    "c": 0.05947,
    "h": 333
  },
  "luminance": 0.01119
}

Semantic roles & 50–950 ramp

primary
#2D1129
secondary
#35653C
accent
#D56653
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060205
muted
#7A7879

Preview Lab

Preview with #2D1129

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

Preview Lab → · Contrast checker → · Palette generator →

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