#2D1229#2D1229

#2D1229 is a very dark, muted purple. Relative luminance 0.012; OKLCH L 23.3% C 0.057 H 333.1°. Best body text is #FFFFFF at 17.07:1 contrast (WCAG AA passes).

Color values

HEX#2D1229
RGBrgb(45, 18, 41)
HSLhsl(309, 43%, 12%)
HSVhsv(309, 60%, 18%)
CMYKcmyk(0%, 60%, 8.9%, 82.4%)
CIE-LABlab(10.19, 17.84, -9.57)
CIE-LCHlch(10.19, 20.25, 331.80°)
OKLaboklab(23.31% 0.0511 -0.026)
OKLCHoklch(23.31% 0.057 333.1)
XYZxyz(1.6987, 1.1507, 2.2300)
Luminance0.0115 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1229 #122D16
analogous
#24122D #2D1229 #2D121C
triadic
#2D1229 #292D12 #12292D
tetradic
#2D1229 #2D2412 #122D16 #121C2D
square
#2D1229 #2D2412 #122D16 #121C2D
split-complementary
#2D1229 #1C2D12 #122D24
monochromatic
#160914 #160914 #2D1229 #592351 #843579

Accessibility & contrast

On white

17.07
#2D1229 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#2D1229 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D1229
17.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1229#FFFFFF#000000##FFFFFF
##2D12291.0017.071.2317.07
#FFFFFF17.071.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11192A
Deuteranopia (green-blind)
#191D28
Tritanopia (blue-blind)
#2F141B
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2d1229;
/* rgb */ color: rgb(45, 18, 41);
/* oklch */ color: oklch(23.3% 0.057 333.1);
Tailwind
colors: {
  custom: {
    50: '#675162',
    500: '#2d1229',
    950: '#000000',
  },
}
SCSS
$custom: #2d1229;
$custom-light: #675162;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1229",
  "rgb": {
    "r": 45,
    "g": 18,
    "b": 41
  },
  "hsl": {
    "h": 308.889,
    "s": 42.857,
    "l": 12.353
  },
  "oklch": {
    "l": 0.23306,
    "c": 0.05736,
    "h": 333.1
  },
  "luminance": 0.01151
}

Semantic roles & 50–950 ramp

primary
#2D1229
secondary
#36653D
accent
#D36855
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060205
muted
#7A7879

Preview Lab

Preview with #2D1229

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

Preview Lab → · Contrast checker → · Palette generator →

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