#2D1D35#2D1D35

#2D1D35 is a dark, muted purple. Relative luminance 0.017; OKLCH L 26.2% C 0.049 H 313.9°. Best body text is #FFFFFF at 15.69:1 contrast (WCAG AA passes).

Color values

HEX#2D1D35
RGBrgb(45, 29, 53)
HSLhsl(280, 29%, 16%)
HSVhsv(280, 45%, 21%)
CMYKcmyk(15.1%, 45.3%, 0%, 79.2%)
CIE-LABlab(13.79, 13.31, -12.71)
CIE-LCHlch(13.79, 18.41, 316.31°)
OKLaboklab(26.22% 0.0337 -0.035)
OKLCHoklch(26.22% 0.049 313.9)
XYZxyz(2.1641, 1.6937, 3.5804)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1D35 #25351D
analogous
#211D35 #2D1D35 #351D31
triadic
#2D1D35 #352D1D #1D352D
tetradic
#2D1D35 #35211D #25351D #1D3135
square
#2D1D35 #35211D #25351D #1D3135
split-complementary
#2D1D35 #31351D #1D3521
monochromatic
#110B14 #110B14 #2D1D35 #4F335D #704884

Accessibility & contrast

On white

15.69
#2D1D35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#2D1D35 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D1D35
15.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1D35#FFFFFF#000000##FFFFFF
##2D1D351.0015.691.3415.69
#FFFFFF15.691.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192236
Deuteranopia (green-blind)
#1D2434
Tritanopia (blue-blind)
#2C2026
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #2d1d35;
/* rgb */ color: rgb(45, 29, 53);
/* oklch */ color: oklch(26.2% 0.049 313.9);
Tailwind
colors: {
  custom: {
    50: '#66596c',
    500: '#2d1d35',
    950: '#000000',
  },
}
SCSS
$custom: #2d1d35;
$custom-light: #66596c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1d35",
  "rgb": {
    "r": 45,
    "g": 29,
    "b": 53
  },
  "hsl": {
    "h": 280,
    "s": 29.268,
    "l": 16.078
  },
  "oklch": {
    "l": 0.26216,
    "c": 0.04861,
    "h": 313.9
  },
  "luminance": 0.01694
}

Semantic roles & 50–950 ramp

primary
#2D1D35
secondary
#516945
accent
#C66283
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060307
muted
#7A787A

Preview Lab

Preview with #2D1D35

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

Preview Lab → · Contrast checker → · Palette generator →

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