#2D1336#2D1336

#2D1336 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.3% C 0.071 H 316.7°. Best body text is #FFFFFF at 16.69:1 contrast (WCAG AA passes).

Color values

HEX#2D1336
RGBrgb(45, 19, 54)
HSLhsl(285, 48%, 14%)
HSVhsv(285, 65%, 21%)
CMYKcmyk(16.7%, 64.8%, 0%, 78.8%)
CIE-LABlab(11.21, 20.33, -17.49)
CIE-LCHlch(11.21, 26.82, 319.30°)
OKLaboklab(24.31% 0.0517 -0.0488)
OKLCHoklch(24.31% 0.071 316.7)
XYZxyz(1.9808, 1.2900, 3.6340)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1336 #1C3613
analogous
#1C1336 #2D1336 #36132E
triadic
#2D1336 #362D13 #13362D
tetradic
#2D1336 #361C13 #1C3613 #132E36
square
#2D1336 #361C13 #1C3613 #132E36
split-complementary
#2D1336 #2E3613 #13361C
monochromatic
#130817 #130817 #2D1336 #532363 #783391

Accessibility & contrast

On white

16.69
#2D1336 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#2D1336 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D1336
16.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1336#FFFFFF#000000##FFFFFF
##2D13361.0016.691.2616.69
#FFFFFF16.691.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B1C37
Deuteranopia (green-blind)
#141F35
Tritanopia (blue-blind)
#2D1922
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2d1336;
/* rgb */ color: rgb(45, 19, 54);
/* oklch */ color: oklch(24.3% 0.071 316.7);
Tailwind
colors: {
  custom: {
    50: '#67526d',
    500: '#2d1336',
    950: '#000000',
  },
}
SCSS
$custom: #2d1336;
$custom-light: #67526d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1336",
  "rgb": {
    "r": 45,
    "g": 19,
    "b": 54
  },
  "hsl": {
    "h": 284.571,
    "s": 47.945,
    "l": 14.314
  },
  "oklch": {
    "l": 0.2431,
    "c": 0.07107,
    "h": 316.7
  },
  "luminance": 0.0129
}

Semantic roles & 50–950 ramp

primary
#2D1336
secondary
#456E37
accent
#D85073
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060207
muted
#7A787A

Preview Lab

Preview with #2D1336

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

Preview Lab → · Contrast checker → · Palette generator →

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